51Degrees Pipeline Node.js  4.1

51Degrees Pipeline for Node.js

ElementData Class Reference

Detailed Description

Stores information created by a flowElement based on flowData.

Stored in flowData

Inheritance diagram for ElementData:

[legend]

Public Member Functions

 constructor ({ flowElement })
Constructor for elementData. More...
 getInternal (key)
Internal get method for elementData to retrieve an element from it called via the elementData's get method This method is overriden by classes inheriting from elementData. More...
 get (key)
A wrapper that performs actions before passing on processing (or skipping) the getInternal method. More...
 getAsString (key)
Return string value of property. More...
 getAsFloat (key)
Return float value of property. More...
 getAsInteger (key)
Return int value of property. More...

Member Function Documentation

◆ constructor()

ElementData::constructor (   { flowElement } )
inline

Constructor for elementData.

Parameters
{object} - options the options object
{flowElement} - options.flowElement the FlowElement this data is part of

◆ get()

ElementData::get (   key )
inline

A wrapper that performs actions before passing on processing (or skipping) the getInternal method.

Parameters
{string} - key the key to retreive a property value for
Returns
{mixed} value

◆ getAsFloat()

ElementData::getAsFloat (   key )
inline

Return float value of property.

Parameters
{string} - key the key to retreive a property value for
Returns
{float} value

◆ getAsInteger()

ElementData::getAsInteger (   key )
inline

Return int value of property.

Parameters
{string} - key the key to retreive a property value for
Returns
{int} value

◆ getAsString()

ElementData::getAsString (   key )
inline

Return string value of property.

Parameters
{string} - key the key to retreive a property value for
Returns
{string} value

◆ getInternal()

ElementData::getInternal (   key )
inline

Internal get method for elementData to retrieve an element from it called via the elementData's get method This method is overriden by classes inheriting from elementData.

Parameters
{string} - key the key to retrieve a property value for