Class BaSyxAas
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.AbstractAas<org.eclipse.digitaltwin.aas4j.v3.model.AssetAdministrationShell>
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxAas
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.Aas,BaSyxSubmodelParent,de.iip_ecosphere.platform.support.aas.DeferredParent,de.iip_ecosphere.platform.support.aas.Element,de.iip_ecosphere.platform.support.aas.HasDataSpecification,de.iip_ecosphere.platform.support.aas.Identifiable,de.iip_ecosphere.platform.support.aas.Referable
public class BaSyxAas
extends AbstractAas<org.eclipse.digitaltwin.aas4j.v3.model.AssetAdministrationShell>
implements BaSyxSubmodelParent
Wraps a BaSyx AAS.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classBuilder forBaSyxAas.Nested classes/interfaces inherited from class de.iip_ecosphere.platform.support.aas.basyx2.AbstractAas
AbstractAas.BaSyxAbstractAasBuilderNested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.Aas
de.iip_ecosphere.platform.support.aas.Aas.AasBuilder -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaSyxAas(org.eclipse.digitaltwin.aas4j.v3.model.AssetAdministrationShell aas, BaSyxRegistry registry) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionCreates an AAS builder on parent level.de.iip_ecosphere.platform.support.aas.Submodel.SubmodelBuildercreateSubmodelBuilder(String idShort, String identifier) de.iip_ecosphere.platform.support.aas.Submodel.SubmodelBuildercreateSubmodelBuilder(String idShort, String identifier, de.iip_ecosphere.platform.support.aas.SetupSpec spec) (package private) voidRegisters an asset and sets the asset reference in this step.(package private) voidregisterRegistry(BaSyxRegistry registry) Sets the registry as part of a remote deployment process toregistry.voidupdate()Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx2.AbstractAas
accept, buildDeferred, createReference, defer, delete, getAas, getAasEndpoint, getAsset, getDeferred, getIdentification, getIdShort, getSubmodel, getSubmodelCount, register, setAsset, submodelsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.aas.Aas
refreshOnUse
-
Field Details
-
registry
-
-
Constructor Details
-
BaSyxAas
BaSyxAas(org.eclipse.digitaltwin.aas4j.v3.model.AssetAdministrationShell aas, BaSyxRegistry registry) Creates an instance. Prevents external creation.- Parameters:
aas- the BaSyx AAS instanceregistry- the registryaasis obtained from, may be null
-
-
Method Details
-
createSubmodelBuilder
public de.iip_ecosphere.platform.support.aas.Submodel.SubmodelBuilder createSubmodelBuilder(String idShort, String identifier) - Specified by:
createSubmodelBuilderin interfacede.iip_ecosphere.platform.support.aas.Aas
-
createSubmodelBuilder
public de.iip_ecosphere.platform.support.aas.Submodel.SubmodelBuilder createSubmodelBuilder(String idShort, String identifier, de.iip_ecosphere.platform.support.aas.SetupSpec spec) - Specified by:
createSubmodelBuilderin interfacede.iip_ecosphere.platform.support.aas.Aas
-
createAasBuilder
Description copied from interface:BaSyxSubmodelParentCreates an AAS builder on parent level.- Specified by:
createAasBuilderin interfacede.iip_ecosphere.platform.support.aas.Aas- Specified by:
createAasBuilderin interfaceBaSyxSubmodelParent- Returns:
- the AAS builder
-
registerAsset
Registers an asset and sets the asset reference in this step.AbstractAas.setAsset(BaSyxAssetInformation)is called in here.- Parameters:
asset- the asset to set
-
registerRegistry
Sets the registry as part of a remote deployment process toregistry.- Parameters:
registry- the registry instance
-
update
public void update()- Specified by:
updatein interfacede.iip_ecosphere.platform.support.aas.Element
-