public interface ChannelAccessGraphicsOnlyDouble extends ChannelAccessGraphicsDouble, ChannelAccessGraphicsOnlyValue<java.lang.Double>
Channel Access values that represents the
DBR_GR_DOUBLE
type. This type
stores double-precision floating-point numbers and provides information about
the alarm status, engineering units, display precision, and alarm and display
limits.
This interface should not be implemented by user-defined classes. Code that
wants to create an instance implementing this interface should use the
methods provided by ChannelAccessValueFactory
instead.
Modifier and Type | Method and Description |
---|---|
ChannelAccessGraphicsOnlyDouble |
asReadOnlyValue()
Returns a read-only version of this value.
|
ChannelAccessGraphicsOnlyDouble |
clone()
Creates and returns a copy of this object.
|
getLowerAlarmLimit, getLowerDisplayLimit, getLowerWarningLimit, getUpperAlarmLimit, getUpperDisplayLimit, getUpperWarningLimit, setLowerAlarmLimit, setLowerDisplayLimit, setLowerWarningLimit, setUpperAlarmLimit, setUpperDisplayLimit, setUpperWarningLimit
getValue, setValue
getPrecision, setPrecision
getGenericLowerAlarmLimit, getGenericLowerDisplayLimit, getGenericLowerWarningLimit, getGenericUpperAlarmLimit, getGenericUpperDisplayLimit, getGenericUpperWarningLimit, getRawUnits, getUnits, setRawUnits, setUnits
getCharset
getAlarmSeverity, getAlarmStatus, setAlarmSeverity, setAlarmStatus
equals, getGenericValueElement, getType, getValueSize, hashCode, isReadOnly, toString
ChannelAccessGraphicsOnlyDouble asReadOnlyValue()
Returns a read-only version of this value. If the value is read-only, this value is returned. Otherwise, a wrapped version of this value, that does not allow modifications is returned.
Please note that the read-only value is not a copy of this value, but just a wrapper around it. This means, that modifications of the wrapped value will result in modifications of the read-only value. Therefore it is bad practice to modify a value that has been used as the base for a read-only value, because code that still has a reference to the read-only value might not expect this change and thus fail unexpectedly.
asReadOnlyValue
in interface ChannelAccessAlarmDouble
asReadOnlyValue
in interface ChannelAccessAlarmValue<java.lang.Double>
asReadOnlyValue
in interface ChannelAccessDouble
asReadOnlyValue
in interface ChannelAccessFloatingPointGraphicsValue<java.lang.Double>
asReadOnlyValue
in interface ChannelAccessGettableValue<java.lang.Double>
asReadOnlyValue
in interface ChannelAccessGraphicsDouble
asReadOnlyValue
in interface ChannelAccessGraphicsOnlyValue<java.lang.Double>
asReadOnlyValue
in interface ChannelAccessGraphicsValue<java.lang.Double>
asReadOnlyValue
in interface ChannelAccessNumericGraphicsValue<java.lang.Double>
asReadOnlyValue
in interface ChannelAccessValue<java.lang.Double>
null
).ChannelAccessGraphicsOnlyDouble clone()
Creates and returns a copy of this object. The object returned is completely independent from this object. This means that modifications to this object will not affect the returned object and vice-versa.
The object returned is guaranteed to be completely identical to this
object, including its type. This means that
x.clone().equals(x)
and
x.clone().getClass() == x.getClass()
are always
true
.
The returned value is guaranteed to allow write access, even if this value is read-only. This means that cloning a read-only value is a good way to get a writable copy.
clone
in interface ChannelAccessAlarmDouble
clone
in interface ChannelAccessAlarmValue<java.lang.Double>
clone
in interface ChannelAccessDouble
clone
in interface ChannelAccessFloatingPointGraphicsValue<java.lang.Double>
clone
in interface ChannelAccessGettableValue<java.lang.Double>
clone
in interface ChannelAccessGraphicsDouble
clone
in interface ChannelAccessGraphicsOnlyValue<java.lang.Double>
clone
in interface ChannelAccessGraphicsValue<java.lang.Double>
clone
in interface ChannelAccessNumericGraphicsValue<java.lang.Double>
clone
in interface ChannelAccessValue<java.lang.Double>
Copyright © 2014–2017 aquenos GmbH. All rights reserved.