Annotation Type MachineConnector
-
@Target(TYPE) @Retention(RUNTIME) @Documented public @interface MachineConnectorIndicates the capabilities of a connector. This information is read out byConnectorsAasto fill the AAS of individual connectors. It may also be used to dynamically steer the code generation. Values shall be compliant with the respective interfaces in the type hierarchy. If no annotation is provided for aConnector, the default values given here will be assumed.- Author:
- Holger Eichelberger, SSE
- See Also:
ModelAccess
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanhasModelWhether the machine connector has a model at all.booleanrequiresTypedAccessWhether the machine connector requires data access via types and structs rather than generic object-based methods like get and set.booleansupportsEventsWhether the machine connector supports events on changed data, i.e., polling by the connector becomes optional.booleansupportsHierarchicalQNamesWhether the machine connector supports hierarchical qualified names in the model (requireshasModel()istrue).booleansupportsModelCallsWhether the machine connector supports calls via the model (requireshasModel()istrue).booleansupportsModelPropertiesWhether the machine connector supports properties via the model (requireshasModel()istrue).booleansupportsModelStructsWhether the machine connector supports user-defined structs in the model (requireshasModel()istrue).
-
-
-
-
supportsHierarchicalQNames
boolean supportsHierarchicalQNames
Whether the machine connector supports hierarchical qualified names in the model (requireshasModel()istrue).- Returns:
truefor hierarchical names,falseelse
- Default:
- true
-
-
-
supportsModelCalls
boolean supportsModelCalls
Whether the machine connector supports calls via the model (requireshasModel()istrue).- Returns:
truefor calls,falsefor no calls
- Default:
- true
-
-
-
supportsModelProperties
boolean supportsModelProperties
Whether the machine connector supports properties via the model (requireshasModel()istrue).- Returns:
truefor properties,falsefor no properties
- Default:
- true
-
-
-
supportsModelStructs
boolean supportsModelStructs
Whether the machine connector supports user-defined structs in the model (requireshasModel()istrue).- Returns:
truefor user-defined structs,falsefor no structs
- Default:
- true
-
-
-
supportsEvents
boolean supportsEvents
Whether the machine connector supports events on changed data, i.e., polling by the connector becomes optional. If no events are supported and ifhasModel()istrue,ModelAccess.monitor(String...)may be not supported, i.e., throw exceptions.- Returns:
truefor events,falsefor no events (polling is required)
- Default:
- true
-
-