Class BaSyxAssetInformation
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxAssetInformation
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.AssetInformation
public class BaSyxAssetInformation
extends Object
implements de.iip_ecosphere.platform.support.aas.AssetInformation
Implements the wrapper for BaSyx assets.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classImplements the asset builder.Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.AssetInformation
de.iip_ecosphere.platform.support.aas.AssetInformation.AssetInformationBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.digitaltwin.aas4j.v3.model.AssetInformation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCreates an instance, prevents external creation.(package private)BaSyxAssetInformation(org.eclipse.digitaltwin.aas4j.v3.model.AssetInformation asset) Creates an instance based on an asset. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor) de.iip_ecosphere.platform.support.aas.Reference(package private) org.eclipse.digitaltwin.aas4j.v3.model.AssetInformationgetAsset()Returns the BaSyx instance.de.iip_ecosphere.platform.support.aas.AssetKind
-
Field Details
-
asset
private org.eclipse.digitaltwin.aas4j.v3.model.AssetInformation asset
-
-
Constructor Details
-
BaSyxAssetInformation
private BaSyxAssetInformation()Creates an instance, prevents external creation. -
BaSyxAssetInformation
BaSyxAssetInformation(org.eclipse.digitaltwin.aas4j.v3.model.AssetInformation asset) Creates an instance based on an asset.- Parameters:
asset- the asset
-
-
Method Details
-
getAssetKind
public de.iip_ecosphere.platform.support.aas.AssetKind getAssetKind()- Specified by:
getAssetKindin interfacede.iip_ecosphere.platform.support.aas.AssetInformation
-
getIdShort
- Specified by:
getIdShortin interfacede.iip_ecosphere.platform.support.aas.AssetInformation
-
getAsset
org.eclipse.digitaltwin.aas4j.v3.model.AssetInformation getAsset()Returns the BaSyx instance.- Returns:
- the BaSyx instance
-
accept
public void accept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor) - Specified by:
acceptin interfacede.iip_ecosphere.platform.support.aas.AssetInformation
-
createReference
public de.iip_ecosphere.platform.support.aas.Reference createReference()- Specified by:
createReferencein interfacede.iip_ecosphere.platform.support.aas.AssetInformation
-