Class BaSyxProperty

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.support.aas.DataElement, de.iip_ecosphere.platform.support.aas.Element, 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.Property, de.iip_ecosphere.platform.support.aas.Qualifiable, de.iip_ecosphere.platform.support.aas.Referable, de.iip_ecosphere.platform.support.aas.SubmodelElement

    public class BaSyxProperty
    extends BaSyxSubmodelElement
    implements de.iip_ecosphere.platform.support.aas.Property
    Wraps a BaSyx property.
    Author:
    Holger Eichelberger, SSE
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BaSyxProperty.BaSyxPropertyBuilder
      Builder for BaSyxProperty.
      • Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.DataElement

        de.iip_ecosphere.platform.support.aas.DataElement.DataElementBuilder<T extends de.iip_ecosphere.platform.support.aas.DataElement>
      • Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.Property

        de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.slf4j.Logger LOGGER  
      private org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElement property  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BaSyxProperty()
      Creates an instance.
        BaSyxProperty​(org.eclipse.basyx.submodel.metamodel.api.submodelelement.dataelement.IProperty property)
      Creates an instance while retrieving an AAS.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)  
      java.lang.String getIdShort()  
      java.lang.String getSemanticId​(boolean stripPrefix)  
      (package private) org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElement getSubmodelElement()
      Returns the implementing sub-model element.
      java.lang.Object getValue()  
      void setValue​(java.lang.Object value)  
      • 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.Element

        update
      • Methods inherited from interface de.iip_ecosphere.platform.support.aas.Property

        getSemanticId
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • property

        private org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElement property
    • Constructor Detail

      • BaSyxProperty

        private BaSyxProperty()
        Creates an instance. Prevents external creation.
      • BaSyxProperty

        public BaSyxProperty​(org.eclipse.basyx.submodel.metamodel.api.submodelelement.dataelement.IProperty property)
        Creates an instance while retrieving an AAS.
        Parameters:
        property - the property
    • Method Detail

      • getIdShort

        public java.lang.String getIdShort()
        Specified by:
        getIdShort in interface de.iip_ecosphere.platform.support.aas.Element
      • getSemanticId

        public java.lang.String getSemanticId​(boolean stripPrefix)
        Specified by:
        getSemanticId in interface de.iip_ecosphere.platform.support.aas.Property
      • getValue

        public java.lang.Object getValue()
                                  throws java.util.concurrent.ExecutionException
        Specified by:
        getValue in interface de.iip_ecosphere.platform.support.aas.Property
        Throws:
        java.util.concurrent.ExecutionException
      • setValue

        public void setValue​(java.lang.Object value)
                      throws java.util.concurrent.ExecutionException
        Specified by:
        setValue in interface de.iip_ecosphere.platform.support.aas.Property
        Throws:
        java.util.concurrent.ExecutionException
      • getSubmodelElement

        org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElement getSubmodelElement()
        Description copied from class: BaSyxSubmodelElement
        Returns the implementing sub-model element.
        Specified by:
        getSubmodelElement in class BaSyxSubmodelElement
        Returns:
        the submodel element
      • accept

        public void accept​(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)
        Specified by:
        accept in interface de.iip_ecosphere.platform.support.aas.Element