Package aas_core.aas3_0.enhancing
Class EnhancedExtension<EnhancementT>
java.lang.Object
aas_core.aas3_0.enhancing.Enhanced<EnhancementT>
aas_core.aas3_0.enhancing.EnhancedExtension<EnhancementT>
- All Implemented Interfaces:
IClass,IExtension,IHasSemantics
-
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.getName()Name of the extension.Reference to an element the extension refers to.Identifier of the semantic definition of the element.Identifier of a supplemental semantic definition of the element.getValue()Value of the extensionType of the value of the extension.Iterate over refersTo, if set, and otherwise return an empty enumerable.Iterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable.voidvoidsetRefersTo(List<IReference> refersTo) voidsetSemanticId(IReference semanticId) voidsetSupplementalSemanticIds(List<IReference> supplementalSemanticIds) voidvoidsetValueType(DataTypeDefXsd valueType) <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
-
EnhancedExtension
-
-
Method Details
-
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
-
getName
Description copied from interface:IExtensionName of the extension.Constraints:
- Constraint AASd-077: The name of an extension (Extension/name) within
IHasExtensionsneeds to be unique.
- Specified by:
getNamein interfaceIExtension
- Constraint AASd-077: The name of an extension (Extension/name) within
-
setName
- Specified by:
setNamein interfaceIExtension
-
getValueType
Description copied from interface:IExtensionType of the value of the extension.Default:
DataTypeDefXsd.STRING- Specified by:
getValueTypein interfaceIExtension
-
setValueType
- Specified by:
setValueTypein interfaceIExtension
-
getValue
Description copied from interface:IExtensionValue of the extension- Specified by:
getValuein interfaceIExtension
-
setValue
- Specified by:
setValuein interfaceIExtension
-
getRefersTo
Description copied from interface:IExtensionReference to an element the extension refers to.- Specified by:
getRefersToin interfaceIExtension
-
setRefersTo
- Specified by:
setRefersToin interfaceIExtension
-
overSupplementalSemanticIdsOrEmpty
Description copied from interface:IHasSemanticsIterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable.- Specified by:
overSupplementalSemanticIdsOrEmptyin interfaceIHasSemantics
-
overRefersToOrEmpty
Description copied from interface:IExtensionIterate over refersTo, if set, and otherwise return an empty enumerable.- Specified by:
overRefersToOrEmptyin interfaceIExtension
-
valueTypeOrDefault
- Specified by:
valueTypeOrDefaultin interfaceIExtension
-
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.
-