Package aas_core.aas3_0.enhancing
Class EnhancedAssetInformation<EnhancementT>
java.lang.Object
aas_core.aas3_0.enhancing.Enhanced<EnhancementT>
aas_core.aas3_0.enhancing.EnhancedAssetInformation<EnhancementT>
- All Implemented Interfaces:
IAssetInformation,IClass
public class EnhancedAssetInformation<EnhancementT>
extends Enhanced<EnhancementT>
implements IAssetInformation
-
Field Summary
Fields inherited from class aas_core.aas3_0.enhancing.Enhanced
enhancement -
Constructor Summary
ConstructorsConstructorDescriptionEnhancedAssetInformation(IAssetInformation 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.Denotes whether the Asset is of kindAssetKind.TYPEorAssetKind.INSTANCE.In caseIAssetInformation.getAssetKind()is applicable theIAssetInformation.getAssetType()is the asset ID of the type asset of the asset under consideration as identified byIAssetInformation.getGlobalAssetId().Thumbnail of the asset represented by the Asset Administration Shell.Global identifier of the asset the AAS is representing.Additional domain-specific, typically proprietary identifier for the asset like e.g., serial number etc.Iterate over specificAssetIds, if set, and otherwise return an empty enumerable.voidsetAssetKind(AssetKind assetKind) voidsetAssetType(String assetType) voidsetDefaultThumbnail(IResource defaultThumbnail) voidsetGlobalAssetId(String globalAssetId) voidsetSpecificAssetIds(List<ISpecificAssetId> specificAssetIds) <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
-
EnhancedAssetInformation
-
-
Method Details
-
getAssetKind
Description copied from interface:IAssetInformationDenotes whether the Asset is of kindAssetKind.TYPEorAssetKind.INSTANCE.- Specified by:
getAssetKindin interfaceIAssetInformation
-
setAssetKind
- Specified by:
setAssetKindin interfaceIAssetInformation
-
getGlobalAssetId
Description copied from interface:IAssetInformationGlobal identifier of the asset the AAS is representing.This attribute is required as soon as the AAS is exchanged via partners in the life cycle of the asset. In a first phase of the life cycle the asset might not yet have a global ID but already an internal identifier. The internal identifier would be modelled via
IAssetInformation.getSpecificAssetIds().This is a global reference.
- Specified by:
getGlobalAssetIdin interfaceIAssetInformation
-
setGlobalAssetId
- Specified by:
setGlobalAssetIdin interfaceIAssetInformation
-
getSpecificAssetIds
Description copied from interface:IAssetInformationAdditional domain-specific, typically proprietary identifier for the asset like e.g., serial number etc.- Specified by:
getSpecificAssetIdsin interfaceIAssetInformation
-
setSpecificAssetIds
- Specified by:
setSpecificAssetIdsin interfaceIAssetInformation
-
getAssetType
Description copied from interface:IAssetInformationIn caseIAssetInformation.getAssetKind()is applicable theIAssetInformation.getAssetType()is the asset ID of the type asset of the asset under consideration as identified byIAssetInformation.getGlobalAssetId().In case
IAssetInformation.getAssetKind()is "Instance" than theIAssetInformation.getAssetType()denotes which "Type" the asset is of. But it is also possible to have anIAssetInformation.getAssetType()of an asset of kind "Type".- Specified by:
getAssetTypein interfaceIAssetInformation
-
setAssetType
- Specified by:
setAssetTypein interfaceIAssetInformation
-
getDefaultThumbnail
Description copied from interface:IAssetInformationThumbnail of the asset represented by the Asset Administration Shell.Used as default.
- Specified by:
getDefaultThumbnailin interfaceIAssetInformation
-
setDefaultThumbnail
- Specified by:
setDefaultThumbnailin interfaceIAssetInformation
-
overSpecificAssetIdsOrEmpty
Description copied from interface:IAssetInformationIterate over specificAssetIds, if set, and otherwise return an empty enumerable.- Specified by:
overSpecificAssetIdsOrEmptyin interfaceIAssetInformation
-
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.
-