Class EnhancedBasicEventElement<EnhancementT>
- All Implemented Interfaces:
IBasicEventElement,IClass,IEventElement,IHasDataSpecification,IHasExtensions,IHasSemantics,IQualifiable,IReferable,ISubmodelElement
-
Field Summary
Fields inherited from class aas_core.aas3_0.enhancing.Enhanced
enhancement -
Constructor Summary
ConstructorsConstructorDescriptionEnhancedBasicEventElement(IBasicEventElement instance, EnhancementT enhancement) -
Method Summary
Modifier and TypeMethodDescriptionvoidAccept thevisitorto visit this instance for double dispatch.<ContextT> voidaccept(IVisitorWithContext<ContextT> visitor, ContextT context) Accept the visitor to visit this instance for double dispatch with thecontext.descend()Iterate recursively over all the class instances referenced from this instance.Iterate over all the class instances referenced from this instance without further recursion.The category is a value that gives further meta information w.r.t. to the class of the element.Description or comments on the element.Direction of event.Display name.Embedded data specification.An extension of the element.In case of identifiables this attribute is a short name of the element.Timestamp in UTC, when the last event was received (input direction) or sent (output direction).For input direction: not applicable.Information, which outer message infrastructure shall handle messages for theIEventElement.Information for the outer message infrastructure for scheduling the event to the respective communication channel.For input direction, reports on the maximum frequency, the software entity behind the respective Referable can handle input events.Reference to theIReferable, which defines the scope of the event.Additional qualification of a qualifiable element.Identifier of the semantic definition of the element.getState()State of event.Identifier of a supplemental semantic definition of the element.Iterate over description, if set, and otherwise return an empty enumerable.Iterate over displayName, if set, and otherwise return an empty enumerable.Iterate over embeddedDataSpecifications, if set, and otherwise return an empty enumerable.Iterate over extensions, if set, and otherwise return an empty enumerable.Iterate over qualifiers, if set, and otherwise return an empty enumerable.Iterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable.voidsetCategory(String category) voidsetDescription(List<ILangStringTextType> description) voidsetDirection(Direction direction) voidsetDisplayName(List<ILangStringNameType> displayName) voidsetEmbeddedDataSpecifications(List<IEmbeddedDataSpecification> embeddedDataSpecifications) voidsetExtensions(List<IExtension> extensions) voidsetIdShort(String idShort) voidsetLastUpdate(String lastUpdate) voidsetMaxInterval(String maxInterval) voidsetMessageBroker(IReference messageBroker) voidsetMessageTopic(String messageTopic) voidsetMinInterval(String minInterval) voidsetObserved(IReference observed) voidsetQualifiers(List<IQualifier> qualifiers) voidsetSemanticId(IReference semanticId) voidsetState(StateOfEvent state) voidsetSupplementalSemanticIds(List<IReference> supplementalSemanticIds) <T> Ttransform(ITransformer<T> transformer) Accept thetransformerto transform this instance for double dispatch.<ContextT,T>
Ttransform(ITransformerWithContext<ContextT, T> transformer, ContextT context) Accept thetransformerto visit this instance for double dispatch with thecontext.
-
Constructor Details
-
EnhancedBasicEventElement
-
-
Method Details
-
getExtensions
Description copied from interface:IHasExtensionsAn extension of the element.- Specified by:
getExtensionsin interfaceIHasExtensions
-
setExtensions
- Specified by:
setExtensionsin interfaceIHasExtensions
-
getCategory
Description copied from interface:IReferableThe category is a value that gives further meta information w.r.t. to the class of the element. It affects the expected existence of attributes and the applicability of constraints.The category is not identical to the semantic definition (
IHasSemantics) of an element. The category e.g. could denote that the element is a measurement value whereas the semantic definition of the element would denote that it is the measured temperature.- Specified by:
getCategoryin interfaceIReferable
-
setCategory
- Specified by:
setCategoryin interfaceIReferable
-
getIdShort
Description copied from interface:IReferableIn case of identifiables this attribute is a short name of the element. In case of referable this ID is an identifying string of the element within its name space.In case the element is a property and the property has a semantic definition (
IHasSemantics.getSemanticId()) conformant to IEC61360 theIReferable.getIdShort()is typically identical to the short name in English.- Specified by:
getIdShortin interfaceIReferable
-
setIdShort
- Specified by:
setIdShortin interfaceIReferable
-
getDisplayName
Description copied from interface:IReferableDisplay name. Can be provided in several languages.- Specified by:
getDisplayNamein interfaceIReferable
-
setDisplayName
- Specified by:
setDisplayNamein interfaceIReferable
-
getDescription
Description copied from interface:IReferableDescription or comments on the element.The description can be provided in several languages.
If no description is defined, then the definition of the concept description that defines the semantics of the element is used.
Additional information can be provided, e.g., if the element is qualified and which qualifier types can be expected in which context or which additional data specification templates are provided.
- Specified by:
getDescriptionin interfaceIReferable
-
setDescription
- Specified by:
setDescriptionin interfaceIReferable
-
getSemanticId
Description copied from interface:IHasSemanticsIdentifier of the semantic definition of the element. It is called semantic ID of the element or also main semantic ID of the element.It is recommended to use a global reference.
- Specified by:
getSemanticIdin interfaceIHasSemantics
-
setSemanticId
- Specified by:
setSemanticIdin interfaceIHasSemantics
-
getSupplementalSemanticIds
Description copied from interface:IHasSemanticsIdentifier of a supplemental semantic definition of the element. It is called supplemental semantic ID of the element.It is recommended to use a global reference.
- Specified by:
getSupplementalSemanticIdsin interfaceIHasSemantics
-
setSupplementalSemanticIds
- Specified by:
setSupplementalSemanticIdsin interfaceIHasSemantics
-
getQualifiers
Description copied from interface:IQualifiableAdditional qualification of a qualifiable element.Constraints:
- Constraint AASd-021: Every qualifiable can only have one qualifier with the same
Qualifier.getType().
- Specified by:
getQualifiersin interfaceIQualifiable
- Constraint AASd-021: Every qualifiable can only have one qualifier with the same
-
setQualifiers
- Specified by:
setQualifiersin interfaceIQualifiable
-
getEmbeddedDataSpecifications
Description copied from interface:IHasDataSpecificationEmbedded data specification.- Specified by:
getEmbeddedDataSpecificationsin interfaceIHasDataSpecification
-
setEmbeddedDataSpecifications
public void setEmbeddedDataSpecifications(List<IEmbeddedDataSpecification> embeddedDataSpecifications) - Specified by:
setEmbeddedDataSpecificationsin interfaceIHasDataSpecification
-
getObserved
Description copied from interface:IBasicEventElementReference to theIReferable, which defines the scope of the event. Can beAssetAdministrationShell,Submodel, orISubmodelElement.Reference to a referable, e.g., a data element or a submodel, that is being observed.
- Specified by:
getObservedin interfaceIBasicEventElement
-
setObserved
- Specified by:
setObservedin interfaceIBasicEventElement
-
getDirection
Description copied from interface:IBasicEventElementDirection of event.Can be
{ Input, Output }.- Specified by:
getDirectionin interfaceIBasicEventElement
-
setDirection
- Specified by:
setDirectionin interfaceIBasicEventElement
-
getState
Description copied from interface:IBasicEventElementState of event.Can be
{ On, Off }.- Specified by:
getStatein interfaceIBasicEventElement
-
setState
- Specified by:
setStatein interfaceIBasicEventElement
-
getMessageTopic
Description copied from interface:IBasicEventElementInformation for the outer message infrastructure for scheduling the event to the respective communication channel.- Specified by:
getMessageTopicin interfaceIBasicEventElement
-
setMessageTopic
- Specified by:
setMessageTopicin interfaceIBasicEventElement
-
getMessageBroker
Description copied from interface:IBasicEventElementInformation, which outer message infrastructure shall handle messages for theIEventElement. Refers to aSubmodel,SubmodelElementList,SubmodelElementCollectionorEntity, which containsIDataElement's describing the proprietary specification for the message broker.For different message infrastructure, e.g., OPC UA or MQTT or AMQP, this proprietary specification could be standardized by having respective Submodels.
- Specified by:
getMessageBrokerin interfaceIBasicEventElement
-
setMessageBroker
- Specified by:
setMessageBrokerin interfaceIBasicEventElement
-
getLastUpdate
Description copied from interface:IBasicEventElementTimestamp in UTC, when the last event was received (input direction) or sent (output direction).- Specified by:
getLastUpdatein interfaceIBasicEventElement
-
setLastUpdate
- Specified by:
setLastUpdatein interfaceIBasicEventElement
-
getMinInterval
Description copied from interface:IBasicEventElementFor input direction, reports on the maximum frequency, the software entity behind the respective Referable can handle input events.For output events, specifies the maximum frequency of outputting this event to an outer infrastructure.
Might be not specified, that is, there is no minimum interval.
- Specified by:
getMinIntervalin interfaceIBasicEventElement
-
setMinInterval
- Specified by:
setMinIntervalin interfaceIBasicEventElement
-
getMaxInterval
Description copied from interface:IBasicEventElementFor input direction: not applicable.For output direction: maximum interval in time, the respective Referable shall send an update of the status of the event, even if no other trigger condition for the event was not met.
Might be not specified, that is, there is no maximum interval
- Specified by:
getMaxIntervalin interfaceIBasicEventElement
-
setMaxInterval
- Specified by:
setMaxIntervalin interfaceIBasicEventElement
-
overExtensionsOrEmpty
Description copied from interface:IHasExtensionsIterate over extensions, if set, and otherwise return an empty enumerable.- Specified by:
overExtensionsOrEmptyin interfaceIHasExtensions
-
overDisplayNameOrEmpty
Description copied from interface:IReferableIterate over displayName, if set, and otherwise return an empty enumerable.- Specified by:
overDisplayNameOrEmptyin interfaceIReferable
-
overDescriptionOrEmpty
Description copied from interface:IReferableIterate over description, if set, and otherwise return an empty enumerable.- Specified by:
overDescriptionOrEmptyin interfaceIReferable
-
overSupplementalSemanticIdsOrEmpty
Description copied from interface:IHasSemanticsIterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable.- Specified by:
overSupplementalSemanticIdsOrEmptyin interfaceIHasSemantics
-
overQualifiersOrEmpty
Description copied from interface:IQualifiableIterate over qualifiers, if set, and otherwise return an empty enumerable.- Specified by:
overQualifiersOrEmptyin interfaceIQualifiable
-
overEmbeddedDataSpecificationsOrEmpty
Description copied from interface:IHasDataSpecificationIterate over embeddedDataSpecifications, if set, and otherwise return an empty enumerable.- Specified by:
overEmbeddedDataSpecificationsOrEmptyin interfaceIHasDataSpecification
-
descendOnce
Description copied from interface:IClassIterate over all the class instances referenced from this instance without further recursion.- Specified by:
descendOncein interfaceIClass
-
descend
Description copied from interface:IClassIterate recursively over all the class instances referenced from this instance. -
accept
Description copied from interface:IClassAccept thevisitorto visit this instance for double dispatch. -
accept
Description copied from interface:IClassAccept the visitor to visit this instance for double dispatch with thecontext. -
transform
Description copied from interface:IClassAccept thetransformerto transform this instance for double dispatch. -
transform
Description copied from interface:IClassAccept thetransformerto visit this instance for double dispatch with thecontext.
-