Package aas_core.aas3_0.enhancing
Class EnhancedReference<EnhancementT>
java.lang.Object
aas_core.aas3_0.enhancing.Enhanced<EnhancementT>
aas_core.aas3_0.enhancing.EnhancedReference<EnhancementT>
- All Implemented Interfaces:
IClass,IReference
-
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.getKeys()Unique references in their name space.IHasSemantics.getSemanticId()of the referenced model element (IReference.getType()=ReferenceTypes.MODEL_REFERENCE).getType()Type of the reference.voidvoidsetReferredSemanticId(IReference referredSemanticId) voidsetType(ReferenceTypes type) <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
-
EnhancedReference
-
-
Method Details
-
getType
Description copied from interface:IReferenceType of the reference.Denotes, whether reference is an external reference or a model reference.
- Specified by:
getTypein interfaceIReference
-
setType
- Specified by:
setTypein interfaceIReference
-
getReferredSemanticId
Description copied from interface:IReferenceIHasSemantics.getSemanticId()of the referenced model element (IReference.getType()=ReferenceTypes.MODEL_REFERENCE).For external references there typically is no semantic ID.
It is recommended to use a external reference.
- Specified by:
getReferredSemanticIdin interfaceIReference
-
setReferredSemanticId
- Specified by:
setReferredSemanticIdin interfaceIReference
-
getKeys
Description copied from interface:IReferenceUnique references in their name space.- Specified by:
getKeysin interfaceIReference
-
setKeys
- Specified by:
setKeysin interfaceIReference
-
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.
-