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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) abstract void
    Calls Builder.build() on all deferred builders.
    de.iip_ecosphere.platform.support.aas.Reference
     
    (package private) abstract void
    defer(String shortId, de.iip_ecosphere.platform.support.Builder<?> builder)
    Registers a sub-build as deferred.
    (package private) abstract de.iip_ecosphere.platform.support.aas.Aas
    Returns the instance under creation.
    (package private) abstract BaSyxSubmodelParent
    Returns the sub-model parent.
    (package private) abstract de.iip_ecosphere.platform.support.aas.Submodel
    Registers a sub-model.
    (package private) abstract void
    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, wait

    Methods inherited from interface de.iip_ecosphere.platform.support.aas.Aas.AasBuilder

    createAssetInformationBuilder, createSubmodelBuilder, createSubmodelBuilder, rbac

    Methods inherited from interface de.iip_ecosphere.platform.support.Builder

    build

    Methods 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

      abstract BaSyxSubmodelParent 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

      abstract void setAsset(BaSyxAssetInformation asset)
      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:
      createReference in interface de.iip_ecosphere.platform.support.aas.Aas.AasBuilder
    • defer

      abstract void defer(String shortId, de.iip_ecosphere.platform.support.Builder<?> builder)
      Registers a sub-build as deferred.
      Parameters:
      shortId - the shortId of the element
      builder - the sub-builder to be registered
      See Also:
    • buildMyDeferred

      abstract void buildMyDeferred()
      Calls Builder.build() on all deferred builders.
      See Also: