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. -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateBaSyxProperty()Creates an instance.(package private)BaSyxProperty(org.eclipse.basyx.submodel.metamodel.api.submodelelement.dataelement.IProperty property)Creates an instance while retrieving an AAS. -
Method Summary
Modifier and Type Method Description voidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)StringgetIdShort()(package private) org.eclipse.basyx.submodel.metamodel.api.submodelelement.dataelement.IPropertygetSubmodelElement()Returns the implementing sub-model element.ObjectgetValue()voidsetValue(Object value)
-
Field Details
-
Constructor Details
-
BaSyxProperty
private BaSyxProperty()Creates an instance. Prevents external creation. -
BaSyxProperty
BaSyxProperty(org.eclipse.basyx.submodel.metamodel.api.submodelelement.dataelement.IProperty property)Creates an instance while retrieving an AAS.- Parameters:
property- the property
-
-
Method Details
-
getIdShort
- Specified by:
getIdShortin interfacede.iip_ecosphere.platform.support.aas.Element
-
getValue
- Specified by:
getValuein interfacede.iip_ecosphere.platform.support.aas.Property- Throws:
ExecutionException
-
setValue
- Specified by:
setValuein interfacede.iip_ecosphere.platform.support.aas.Property- Throws:
ExecutionException
-
getSubmodelElement
org.eclipse.basyx.submodel.metamodel.api.submodelelement.dataelement.IProperty 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
-