Extension of elementDataDictionary which stores a {key,value} dictionary of elements like elementDataDictionary but with the additional aspectData extensions.
|
| | constructor ({ flowElement, contents, missingPropertyService }) |
| | Constructor for AspectDataDictionary.
|
| | constructor ({ flowElement, missingPropertyService=new MissingPropertyServiceBase() }) |
| | Constructor for AspectData.
|
| | get (key) |
| | The aspectData getter runs a series of actions if a property has / has not been found.
|
| | constructor ({ flowElement }) |
| | Constructor for elementData.
|
| | 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.
|
| | getInternalIgnoringCase (key) |
| | Looks for a key again ignoring its letter case, after getInternal found nothing for the key as given, because property names are compared ignoring case.
|
| | get (key) |
| | A wrapper that performs actions before passing on processing (or skipping) the getInternal method.
|
| | getAsString (key) |
| | Return string value of property.
|
| | getAsFloat (key) |
| | Return float value of property.
|
| | getAsInteger (key) |
| | Return int value of property.
|
| AspectDataDictionary::constructor |
( |
| { flowElement, contents, missingPropertyService } | ) |
|
|
inline |
Constructor for AspectDataDictionary.
- Parameters
-
| {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 |