Class BaSyxProperty
- java.lang.Object
-
- de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElement
-
- de.iip_ecosphere.platform.support.aas.basyx.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 classBaSyxProperty.BaSyxPropertyBuilderBuilder forBaSyxProperty.
-
Constructor Summary
Constructors Modifier Constructor Description privateBaSyxProperty()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 voidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)java.lang.StringgetIdShort()java.lang.StringgetSemanticId(boolean stripPrefix)(package private) org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElementgetSubmodelElement()Returns the implementing sub-model element.java.lang.ObjectgetValue()voidsetValue(java.lang.Object value)-
Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElement
update
-
-
-
-
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:
getIdShortin interfacede.iip_ecosphere.platform.support.aas.Element
-
getSemanticId
public java.lang.String getSemanticId(boolean stripPrefix)
- Specified by:
getSemanticIdin interfacede.iip_ecosphere.platform.support.aas.Property
-
getValue
public java.lang.Object getValue() throws java.util.concurrent.ExecutionException- Specified by:
getValuein interfacede.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:
setValuein interfacede.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:BaSyxSubmodelElementReturns the implementing sub-model element.- Specified by:
getSubmodelElementin classBaSyxSubmodelElement- Returns:
- the submodel element
-
accept
public void accept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)
- Specified by:
acceptin interfacede.iip_ecosphere.platform.support.aas.Element
-
-