public final class AttributeValue extends Object implements Cloneable, Serializable, IValue<Object>
| Constructor and Description |
|---|
AttributeValue() |
AttributeValue(Object value) |
AttributeValue(Object value,
fr.esrf.Tango.AttrQuality quality) |
AttributeValue(Object value,
fr.esrf.Tango.AttrQuality quality,
int xDim,
int yDim) |
AttributeValue(Object value,
fr.esrf.Tango.AttrQuality quality,
int xDim,
int yDim,
long time) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
fr.esrf.Tango.AttrQuality |
getQuality() |
long |
getTime() |
Object |
getValue() |
int |
getXDim() |
int |
getYDim() |
void |
setQuality(fr.esrf.Tango.AttrQuality quality)
Set the quality of the attribute
AttrQuality |
void |
setTime(long time)
Set timestamp.
|
void |
setValue(Object value)
Set the value of an attribute.
|
void |
setValue(Object value,
long time)
Set Value and time.
|
void |
setXDim(int xDim)
Set x dimension.Must be called after setValue to override default value
|
void |
setYDim(int yDim)
Set y dimension.
|
String |
toString() |
public AttributeValue()
public AttributeValue(Object value) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic AttributeValue(Object value, fr.esrf.Tango.AttrQuality quality) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic AttributeValue(Object value, fr.esrf.Tango.AttrQuality quality, int xDim, int yDim)
public AttributeValue(Object value, fr.esrf.Tango.AttrQuality quality, int xDim, int yDim, long time)
public void setValue(Object value) throws fr.esrf.Tango.DevFailed
AttributeTangoType.ATTRIBUTE_CLASSES for allowed types. Some default
dimensions are set automatically:
public void setValue(Object value, long time) throws fr.esrf.Tango.DevFailed
setValue(Object) for detailspublic fr.esrf.Tango.AttrQuality getQuality()
public void setQuality(fr.esrf.Tango.AttrQuality quality)
AttrQualityquality - public long getTime()
public void setTime(long time)
setValue(Object).public int getXDim()
public void setXDim(int xDim)
xDim - public int getYDim()
public void setYDim(int yDim)
yDim - public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2012–2017 Tango Controls. All rights reserved.