public class COSARAttrFloat extends COSARAttr
Modifier and Type | Field and Description |
---|---|
protected float |
m_value |
Constructor and Description |
---|
COSARAttrFloat(java.lang.String id) |
COSARAttrFloat(java.lang.String id,
float value) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytesValue() |
double |
getDoubleValue() |
long |
getLongValue() |
long |
getMillisValue() |
OSARecAttr |
getRecAttr() |
java.lang.String |
getStringValue() |
float |
getValue() |
boolean |
setStringValue(java.lang.String value)
This function sets the attribute value based on a string
|
boolean |
setValue(COSARAttr attr)
This function is used to convert the value of another
attribute to this type and store it.
|
void |
setValue(int value) |
java.lang.String |
toString() |
getDCField, getId, getIPValue, getType, idToInt, setId
public COSARAttrFloat(java.lang.String id, float value)
public COSARAttrFloat(java.lang.String id)
public float getValue()
public java.lang.String getStringValue() throws java.lang.Exception
getStringValue
in class COSARAttr
java.lang.Exception
public long getLongValue() throws java.lang.Exception
getLongValue
in class COSARAttr
java.lang.Exception
public double getDoubleValue() throws java.lang.Exception
getDoubleValue
in class COSARAttr
java.lang.Exception
public long getMillisValue() throws java.lang.Exception
getMillisValue
in class COSARAttr
java.lang.Exception
public byte[] getBytesValue() throws java.lang.Exception
getBytesValue
in class COSARAttr
java.lang.Exception
public OSARecAttr getRecAttr()
getRecAttr
in class COSARAttr
public java.lang.String toString()
public void setValue(int value)
public boolean setStringValue(java.lang.String value)
setStringValue
in class COSARAttr