Class BaSyxAssetInformation.BaSyxAssetInformationBuilder
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxAssetInformation.BaSyxAssetInformationBuilder
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.AssetInformation.AssetInformationBuilder,de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.AssetInformation>
- Enclosing class:
BaSyxAssetInformation
static class BaSyxAssetInformation.BaSyxAssetInformationBuilder
extends Object
implements de.iip_ecosphere.platform.support.aas.AssetInformation.AssetInformationBuilder
Implements the asset builder.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.digitaltwin.aas4j.v3.model.AssetInformationprivate BaSyxAssetInformation -
Constructor Summary
ConstructorsConstructorDescriptionBaSyxAssetInformationBuilder(AbstractAas.BaSyxAbstractAasBuilder parent, String idShort, String identifier, de.iip_ecosphere.platform.support.aas.AssetKind kind) Creates an asset builder. -
Method Summary
Modifier and TypeMethodDescriptionde.iip_ecosphere.platform.support.aas.AssetInformationbuild()de.iip_ecosphere.platform.support.aas.Referencede.iip_ecosphere.platform.support.aas.AssetInformation.AssetInformationBuildersetDescription(de.iip_ecosphere.platform.support.aas.LangString... description)
-
Field Details
-
parent
-
instance
-
asset
private org.eclipse.digitaltwin.aas4j.v3.model.AssetInformation asset
-
-
Constructor Details
-
BaSyxAssetInformationBuilder
BaSyxAssetInformationBuilder(AbstractAas.BaSyxAbstractAasBuilder parent, String idShort, String identifier, de.iip_ecosphere.platform.support.aas.AssetKind kind) Creates an asset builder.- Parameters:
parent- the parent builderidShort- the short id of the assetidentifier- the identifier of the AAS (may be null or empty for an identification based onidShort, interpreted as an URN if this starts withurn)kind- the asset kind
-
-
Method Details
-
build
public de.iip_ecosphere.platform.support.aas.AssetInformation build()- Specified by:
buildin interfacede.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.AssetInformation>
-
setDescription
public de.iip_ecosphere.platform.support.aas.AssetInformation.AssetInformationBuilder setDescription(de.iip_ecosphere.platform.support.aas.LangString... description) - Specified by:
setDescriptionin interfacede.iip_ecosphere.platform.support.aas.AssetInformation.AssetInformationBuilder
-
createReference
public de.iip_ecosphere.platform.support.aas.Reference createReference()- Specified by:
createReferencein interfacede.iip_ecosphere.platform.support.aas.AssetInformation.AssetInformationBuilder
-