Class BaSyxSubmodel

  • All Implemented Interfaces:
    BaSyxElementTranslator.SubmodelElementsRegistrar, de.iip_ecosphere.platform.support.aas.DeferredParent, de.iip_ecosphere.platform.support.aas.Element, de.iip_ecosphere.platform.support.aas.ElementContainer, de.iip_ecosphere.platform.support.aas.ElementsAccess, de.iip_ecosphere.platform.support.aas.HasDataSpecification, de.iip_ecosphere.platform.support.aas.HasKind, de.iip_ecosphere.platform.support.aas.HasSemantics, de.iip_ecosphere.platform.support.aas.Identifiable, de.iip_ecosphere.platform.support.aas.Qualifiable, de.iip_ecosphere.platform.support.aas.Referable, de.iip_ecosphere.platform.support.aas.Submodel
    Direct Known Subclasses:
    BaSyxTechnicalDataSubmodel

    public class BaSyxSubmodel
    extends AbstractSubmodel<org.eclipse.basyx.submodel.metamodel.map.Submodel>
    Wraps a BaSyx sub-model.
    Author:
    Holger Eichelberger, SSE
    • Constructor Detail

      • BaSyxSubmodel

        protected BaSyxSubmodel​(org.eclipse.basyx.submodel.metamodel.map.Submodel subModel)
        Creates an instance. Prevents external creation.
        Parameters:
        subModel - the sub-model instance
      • BaSyxSubmodel

        protected BaSyxSubmodel​(AbstractAas.BaSyxSubmodelParent parent,
                                org.eclipse.basyx.submodel.metamodel.map.Submodel instance)
        Creates an instance based on a given instance.
        Parameters:
        parent - the parent instance
        instance - the BaSyx submodel instance
    • Method Detail

      • obtainSubmodelElementCollectionBuilder

        private de.iip_ecosphere.platform.support.aas.SubmodelElementCollection.SubmodelElementCollectionBuilder obtainSubmodelElementCollectionBuilder​(BaSyxSubmodelElementContainerBuilder<?> parent,
                                                                                                                                                        java.lang.String idShort,
                                                                                                                                                        boolean ordered,
                                                                                                                                                        boolean allowDuplicates)
        Creates a builder for a contained sub-model element collection. Calling this method again with the same name shall lead to a builder that allows for modifying the sub-model.
        Parameters:
        parent - the parent builder
        idShort - the short name of the reference element
        ordered - whether the collection is ordered
        allowDuplicates - whether the collection allows duplicates
        Returns:
        the builder
        Throws:
        java.lang.IllegalArgumentException - if idShort is null or empty; or if modification is not possible
      • createSubmodelElementCollectionBuilder

        public de.iip_ecosphere.platform.support.aas.SubmodelElementCollection.SubmodelElementCollectionBuilder createSubmodelElementCollectionBuilder​(java.lang.String idShort,
                                                                                                                                                       boolean ordered,
                                                                                                                                                       boolean allowDuplicates)
      • update

        public void update()