Class EnhancedRelationshipElement<EnhancementT>
- All Implemented Interfaces:
IClass,IHasDataSpecification,IHasExtensions,IHasSemantics,IQualifiable,IReferable,IRelationshipElement,ISubmodelElement
-
Field Summary
Fields inherited from class aas_core.aas3_0.enhancing.Enhanced
enhancement -
Constructor Summary
ConstructorsConstructorDescriptionEnhancedRelationshipElement(IRelationshipElement 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.Display name.Embedded data specification.An extension of the element.getFirst()Reference to the first element in the relationship taking the role of the subject.In case of identifiables this attribute is a short name of the element.Additional qualification of a qualifiable element.Reference to the second element in the relationship taking the role of the object.Identifier of the semantic definition of the element.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) voidsetDisplayName(List<ILangStringNameType> displayName) voidsetEmbeddedDataSpecifications(List<IEmbeddedDataSpecification> embeddedDataSpecifications) voidsetExtensions(List<IExtension> extensions) voidsetFirst(IReference first) voidsetIdShort(String idShort) voidsetQualifiers(List<IQualifier> qualifiers) voidsetSecond(IReference second) voidsetSemanticId(IReference semanticId) 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
-
EnhancedRelationshipElement
-
-
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
-
getFirst
Description copied from interface:IRelationshipElementReference to the first element in the relationship taking the role of the subject.- Specified by:
getFirstin interfaceIRelationshipElement
-
setFirst
- Specified by:
setFirstin interfaceIRelationshipElement
-
getSecond
Description copied from interface:IRelationshipElementReference to the second element in the relationship taking the role of the object.- Specified by:
getSecondin interfaceIRelationshipElement
-
setSecond
- Specified by:
setSecondin interfaceIRelationshipElement
-
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.
-