Annotation Interface MachineConnector
Indicates the capabilities of a connector. This information is read out by
ConnectorsAas to 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 a Connector,
the default values given here will be assumed.- Author:
- Holger Eichelberger, SSE
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionString[]List of specific setting names supported by the connector. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether the machine connector has a model at all.booleanWhether the machine connector requires data access via types and structs rather than generic object-based methods like get and set.booleanReturns whether this connector considersDataTimeDifferenceProvider.booleanWhether the machine connector supports events on changed data, i.e., polling by the connector becomes optional.booleanWhether the machine connector supports hierarchical qualified names in the model (requireshasModel()istrue).booleanWhether the machine connector supports calls via the model (requireshasModel()istrue).booleanWhether the machine connector supports properties via the model (requireshasModel()istrue).booleanWhether the machine connector supports user-defined structs in the model (requireshasModel()istrue).booleanReturns whether a connector withinformation modelsupports multi-valued entries.
-
Element Details
-
hasModel
boolean hasModelWhether the machine connector has a model at all.- Returns:
truefor model, false for no model
- Default:
true
-
supportsHierarchicalQNames
boolean supportsHierarchicalQNamesWhether the machine connector supports hierarchical qualified names in the model (requireshasModel()istrue).- Returns:
truefor hierarchical names,falseelse
- Default:
true
-
supportsModelCalls
boolean supportsModelCallsWhether the machine connector supports calls via the model (requireshasModel()istrue).- Returns:
truefor calls,falsefor no calls
- Default:
true
-
supportsModelProperties
boolean supportsModelPropertiesWhether the machine connector supports properties via the model (requireshasModel()istrue).- Returns:
truefor properties,falsefor no properties
- Default:
true
-
supportsModelStructs
boolean supportsModelStructsWhether the machine connector supports user-defined structs in the model (requireshasModel()istrue).- Returns:
truefor user-defined structs,falsefor no structs
- Default:
true
-
supportsEvents
boolean supportsEventsWhether 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
-
requiresTypedAccess
boolean requiresTypedAccessWhether the machine connector requires data access via types and structs rather than generic object-based methods like get and set.- Returns:
truefor typed access,falsefor generic access
- Default:
false
-
specificSettings
String[] specificSettingsList of specific setting names supported by the connector.- Returns:
- specific setting names
-
supportsMultiValued
boolean supportsMultiValuedReturns whether a connector withinformation modelsupports multi-valued entries.- Returns:
truefor multi-valued,falseelse
- Default:
false
-
supportsDataTimeDifference
boolean supportsDataTimeDifferenceReturns whether this connector considersDataTimeDifferenceProvider.- Returns:
truefor considered,falseelse
- Default:
false
-