Class AbstractAas.BaSyxAbstractAasBuilder
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.AbstractAas.BaSyxAbstractAasBuilder
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.Aas.AasBuilder,de.iip_ecosphere.platform.support.aas.RbacReceiver<de.iip_ecosphere.platform.support.aas.Aas.AasBuilder>,de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.Aas>
- Direct Known Subclasses:
BaSyxAas.BaSyxAasBuilder
- Enclosing class:
AbstractAas<A extends org.eclipse.digitaltwin.aas4j.v3.model.AssetAdministrationShell>
public abstract static class AbstractAas.BaSyxAbstractAasBuilder
extends Object
implements de.iip_ecosphere.platform.support.aas.Aas.AasBuilder
An abstract builder for two concrete AAS types in BaSyx.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidCallsBuilder.build()on all deferred builders.de.iip_ecosphere.platform.support.aas.Reference(package private) abstract voidRegisters a sub-build as deferred.(package private) abstract de.iip_ecosphere.platform.support.aas.AasReturns the instance under creation.(package private) abstract BaSyxSubmodelParentReturns the sub-model parent.(package private) abstract de.iip_ecosphere.platform.support.aas.Submodelregister(BaSyxSubmodel submodel) Registers a sub-model.(package private) abstract voidsetAsset(BaSyxAssetInformation asset) Defines the asset for the AAS being under construction.Methods 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.AasBuilder
createAssetInformationBuilder, createSubmodelBuilder, createSubmodelBuilder, rbacMethods inherited from interface de.iip_ecosphere.platform.support.Builder
buildMethods inherited from interface de.iip_ecosphere.platform.support.aas.RbacReceiver
rbac, rbac, rbacAll, rbacAllAuthenticated, rbacDevice, rbacPlatform
-
Constructor Details
-
BaSyxAbstractAasBuilder
public BaSyxAbstractAasBuilder()
-
-
Method Details
-
register
abstract de.iip_ecosphere.platform.support.aas.Submodel register(BaSyxSubmodel submodel) throws IOException Registers a sub-model.- Parameters:
submodel- the sub-model- Returns:
submodel- Throws:
IOException- if the submodel cannot be registered, e.g. due to permission issues
-
getSubmodelParent
Returns the sub-model parent.- Returns:
- the sub-model parent
-
getInstance
abstract de.iip_ecosphere.platform.support.aas.Aas getInstance()Returns the instance under creation.- Returns:
- the instance
-
setAsset
Defines the asset for the AAS being under construction.- Parameters:
asset- the asset
-
createReference
public de.iip_ecosphere.platform.support.aas.Reference createReference()- Specified by:
createReferencein interfacede.iip_ecosphere.platform.support.aas.Aas.AasBuilder
-
defer
Registers a sub-build as deferred.- Parameters:
shortId- the shortId of the elementbuilder- the sub-builder to be registered- See Also:
-
buildMyDeferred
abstract void buildMyDeferred()CallsBuilder.build()on all deferred builders.- See Also:
-