Class ConnectedRange
- java.lang.Object
-
- org.eclipse.basyx.submodel.metamodel.connected.ConnectedElement
-
- org.eclipse.basyx.submodel.metamodel.connected.submodelelement.ConnectedSubmodelElement
-
- org.eclipse.basyx.submodel.metamodel.connected.submodelelement.dataelement.ConnectedDataElement
-
- org.eclipse.basyx.submodel.metamodel.connected.submodelelement.dataelement.ConnectedRange
-
- All Implemented Interfaces:
IElement
,IHasKind
,IHasDataSpecification
,IHasSemantics
,IReferable
,IQualifiable
,IDataElement
,IRange
,ISubmodelElement
public class ConnectedRange extends ConnectedDataElement implements IRange
"Connected" implementation of IRange- Author:
- conradi
-
-
Field Summary
-
Fields inherited from class org.eclipse.basyx.submodel.metamodel.connected.ConnectedElement
cached
-
-
Constructor Summary
Constructors Constructor Description ConnectedRange(VABElementProxy proxy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyElements
getKeyElement()
Range
getLocalCopy()
Object
getMax()
The maximum value of the range.Object
getMin()
Returns the minimum value of the range.RangeValue
getValue()
ValueType
getValueType()
Returns data type of the min und maxvoid
setValue(Object value)
void
setValue(RangeValue rangeValue)
Sets the value of the range represented by the Range submodel element-
Methods inherited from class org.eclipse.basyx.submodel.metamodel.connected.submodelelement.ConnectedSubmodelElement
getCategory, getDataSpecificationReferences, getDescription, getEmbeddedDataSpecifications, getIdShort, getModelingKind, getModelType, getParent, getQualifiers, getReference, getSemanticId
-
Methods inherited from class org.eclipse.basyx.submodel.metamodel.connected.ConnectedElement
getElem, getElemLive, getProxy, throwNotSupportedException, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.basyx.submodel.metamodel.api.IElement
getIdShort
-
Methods inherited from interface org.eclipse.basyx.submodel.metamodel.api.qualifier.IHasDataSpecification
getDataSpecificationReferences, getEmbeddedDataSpecifications
-
Methods inherited from interface org.eclipse.basyx.submodel.metamodel.api.qualifier.haskind.IHasKind
getModelingKind
-
Methods inherited from interface org.eclipse.basyx.submodel.metamodel.api.qualifier.IHasSemantics
getSemanticId
-
Methods inherited from interface org.eclipse.basyx.submodel.metamodel.api.qualifier.qualifiable.IQualifiable
getQualifiers
-
Methods inherited from interface org.eclipse.basyx.submodel.metamodel.api.qualifier.IReferable
getCategory, getDescription, getIdShort, getParent, getReference
-
Methods inherited from interface org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElement
getModelType
-
-
-
-
Constructor Detail
-
ConnectedRange
public ConnectedRange(VABElementProxy proxy)
-
-
Method Detail
-
getValueType
public ValueType getValueType()
Description copied from interface:IRange
Returns data type of the min und max- Specified by:
getValueType
in interfaceIRange
- Returns:
-
getMin
public Object getMin()
Description copied from interface:IRange
Returns the minimum value of the range.
If the min value is missing then the value is assumed to be negative infinite.
-
getMax
public Object getMax()
Description copied from interface:IRange
The maximum value of the range.
If the max value is missing then the value is assumed to be positive infinite.
-
getKeyElement
protected KeyElements getKeyElement()
- Overrides:
getKeyElement
in classConnectedDataElement
-
getValue
public RangeValue getValue()
- Specified by:
getValue
in interfaceIRange
- Specified by:
getValue
in interfaceISubmodelElement
- Overrides:
getValue
in classConnectedDataElement
-
setValue
public void setValue(Object value)
- Specified by:
setValue
in interfaceISubmodelElement
- Overrides:
setValue
in classConnectedSubmodelElement
-
getLocalCopy
public Range getLocalCopy()
- Specified by:
getLocalCopy
in interfaceISubmodelElement
- Overrides:
getLocalCopy
in classConnectedDataElement
-
setValue
public void setValue(RangeValue rangeValue)
Description copied from interface:IRange
Sets the value of the range represented by the Range submodel element
-
-