Accessor

class Accessor(instance: Instance, positionObject: IObject)

The Accessor is a helper class for doing model and instance traversal for easier access of often used field. The Fragment must be autowired() before the Accessor can be used!

Constructors

Link copied to clipboard
constructor(instance: Instance, positionObject: IObject)

Functions

Link copied to clipboard
Link copied to clipboard

Get an AttributeInstance by the name of the Attribute. This method searches only in the local object (inherited attributes are not found)

Link copied to clipboard

Get an AttributeInstance by the URI of the Attribute. This method searches only in the local object (inherited attributes are not found)

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get an AttributeInstance by the name of the Attribute. This method searches in the whole upper inheritance hierarchy

Link copied to clipboard

Get an AttributeInstance by the URI of the Attribute. This method searches in the whole upper inheritance hierarchy

Link copied to clipboard

Get the attributes of the IObject and its parents in a structured map. NODE-URI -> ATTRIBUTE-URI -> ATTRIBUTE-INSTANCE

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard