Package aas_core.aas3_0.enhancing
Class EnhancedEventPayload<EnhancementT>
java.lang.Object
aas_core.aas3_0.enhancing.Enhanced<EnhancementT>
aas_core.aas3_0.enhancing.EnhancedEventPayload<EnhancementT>
- All Implemented Interfaces:
IClass,IEventPayload
public class EnhancedEventPayload<EnhancementT>
extends Enhanced<EnhancementT>
implements IEventPayload
-
Field Summary
Fields inherited from class aas_core.aas3_0.enhancing.Enhanced
enhancement -
Constructor Summary
Constructors -
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.Reference to the referable, which defines the scope of the event.IHasSemantics.getSemanticId()of the referable which defines the scope of the event, if available.Optional<byte[]> Event specific payload.Reference to the source event element, including identification ofAssetAdministrationShell,Submodel,ISubmodelElement's.IHasSemantics.getSemanticId()of the source event element, if availableSubject, who/which initiated the creation.Timestamp in UTC, when this event was triggered.getTopic()Information for the outer message infrastructure for scheduling the event to the respective communication channel.voidsetObservableReference(IReference observableReference) voidsetObservableSemanticId(IReference observableSemanticId) voidsetPayload(byte[] payload) voidsetSource(IReference source) voidsetSourceSemanticId(IReference sourceSemanticId) voidsetSubjectId(IReference subjectId) voidsetTimeStamp(String timeStamp) void<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
-
EnhancedEventPayload
-
-
Method Details
-
getSource
Description copied from interface:IEventPayloadReference to the source event element, including identification ofAssetAdministrationShell,Submodel,ISubmodelElement's.- Specified by:
getSourcein interfaceIEventPayload
-
setSource
- Specified by:
setSourcein interfaceIEventPayload
-
getSourceSemanticId
Description copied from interface:IEventPayloadIHasSemantics.getSemanticId()of the source event element, if availableIt is recommended to use a global reference.
- Specified by:
getSourceSemanticIdin interfaceIEventPayload
-
setSourceSemanticId
- Specified by:
setSourceSemanticIdin interfaceIEventPayload
-
getObservableReference
Description copied from interface:IEventPayloadReference to the referable, which defines the scope of the event.Can be
AssetAdministrationShell,SubmodelorISubmodelElement.- Specified by:
getObservableReferencein interfaceIEventPayload
-
setObservableReference
- Specified by:
setObservableReferencein interfaceIEventPayload
-
getObservableSemanticId
Description copied from interface:IEventPayloadIHasSemantics.getSemanticId()of the referable which defines the scope of the event, if available.It is recommended to use a global reference.
- Specified by:
getObservableSemanticIdin interfaceIEventPayload
-
setObservableSemanticId
- Specified by:
setObservableSemanticIdin interfaceIEventPayload
-
getTopic
Description copied from interface:IEventPayloadInformation for the outer message infrastructure for scheduling the event to the respective communication channel.- Specified by:
getTopicin interfaceIEventPayload
-
setTopic
- Specified by:
setTopicin interfaceIEventPayload
-
getSubjectId
Description copied from interface:IEventPayloadSubject, who/which initiated the creation.This is an external reference.
- Specified by:
getSubjectIdin interfaceIEventPayload
-
setSubjectId
- Specified by:
setSubjectIdin interfaceIEventPayload
-
getTimeStamp
Description copied from interface:IEventPayloadTimestamp in UTC, when this event was triggered.- Specified by:
getTimeStampin interfaceIEventPayload
-
setTimeStamp
- Specified by:
setTimeStampin interfaceIEventPayload
-
getPayload
Description copied from interface:IEventPayloadEvent specific payload.- Specified by:
getPayloadin interfaceIEventPayload
-
setPayload
public void setPayload(byte[] payload) - Specified by:
setPayloadin interfaceIEventPayload
-
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.
-