◆ constructor()
AspectData::constructor | ( | { flowElement, missingPropertyService=new MissingPropertyServiceBase() } | ) |
inline
Constructor for AspectData.
- 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
◆ get()
AspectData::get ( key ) inlineThe aspectData getter runs a series of actions if a property has / has not been found.
If it hasn't been found it runs the missing property service if the property is referenced by the flowElement/engine. If the property is found a further check to see if it is restricted by a list passed into the flowElement/engine.
- Parameters
-
- {string} - key the property key to lookup
- Returns
- {mixed} result