51Degrees Pipeline Node.js  4.1Newer Version 4.2

51Degrees Pipeline for Node.js

AspectDataDictionary Class Reference

Detailed Description

Extension of elementDataDictionary which stores a {key,value} dictionary of elements like elementDataDictionary but with the additional aspectData extensions.

Inheritance diagram for AspectDataDictionary:


Collaboration diagram for AspectDataDictionary:


Public Member Functions

 constructor ({ flowElement, contents, missingPropertyService })
Constructor for AspectDataDictionary. More...

Public Member Functions inherited from AspectData

 constructor ({ flowElement, missingPropertyService=new MissingPropertyServiceBase() })
Constructor for AspectData. More...
 get (key)
The aspectData getter runs a series of actions if a property has / has not been found. More...

Public Member Functions inherited from ElementData

 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()

AspectDataDictionary::constructor (   { flowElement, contents, missingPropertyService } )

Constructor for AspectDataDictionary.

{object} - options options object
{FlowElement} - options.flowElement FlowElement the data is for
{MissingPropertyService} - options.missingPropertyService a missing property service to use when the property is in a FlowElement's property list but not in the data
{object} - options.contents the data to store