public class DoubleDefinitionInfo extends AttributeTypeDefinitionInfo
| Modifier and Type | Field and Description |
|---|---|
private String |
_unit |
_doubleNumberFormat| Constructor and Description |
|---|
DoubleDefinitionInfo(DoubleAttributeType att) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue(byte[] bytes,
int offset) |
double |
doubleValue(byte[] bytes,
int offset) |
float |
floatValue(byte[] bytes,
int offset) |
int |
getFixedSize() |
IntegerValueState |
getState(byte[] bytes,
int offset) |
String |
getSuffixText(byte[] bytes,
int offset) |
String |
getValueText(byte[] bytes,
int offset) |
int |
intValue(byte[] bytes,
int offset) |
boolean |
isNumber(byte[] bytes,
int offset) |
boolean |
isNumberAttribute() |
boolean |
isScalableNumberAttribute() |
boolean |
isSizeFixed() |
boolean |
isState(byte[] bytes,
int offset) |
long |
longValue(byte[] bytes,
int offset) |
short |
shortValue(byte[] bytes,
int offset) |
dump, getAttributeType, getItem, getItem, getItemCount, getSize, isList, readInt, readLong, readShort, readUnsignedIntforAttributeType, forAttributSet, forgetDataModel, getId, getMillis, getSeconds, getSystemObject, getUnscaledSuffixText, getUnscaledValueText, isReferenceAttribute, isTimeAttribute, unscaledByteValue, unscaledDoubleValue, unscaledFloatValue, unscaledIntValue, unscaledLongValue, unscaledShortValueprivate final String _unit
public DoubleDefinitionInfo(DoubleAttributeType att)
public boolean isSizeFixed()
public int getFixedSize()
public String getValueText(byte[] bytes, int offset)
public String getSuffixText(byte[] bytes, int offset)
public boolean isNumberAttribute()
isNumberAttribute in interface AttributeDefinitionInfoisNumberAttribute in class AbstractAttributeDefinitionInfopublic boolean isScalableNumberAttribute()
isScalableNumberAttribute in interface AttributeDefinitionInfoisScalableNumberAttribute in class AbstractAttributeDefinitionInfopublic boolean isNumber(byte[] bytes,
int offset)
isNumber in interface AttributeDefinitionInfoisNumber in class AbstractAttributeDefinitionInfopublic boolean isState(byte[] bytes,
int offset)
isState in interface AttributeDefinitionInfoisState in class AbstractAttributeDefinitionInfopublic IntegerValueState getState(byte[] bytes, int offset)
getState in interface AttributeDefinitionInfogetState in class AbstractAttributeDefinitionInfopublic byte byteValue(byte[] bytes,
int offset)
byteValue in interface AttributeDefinitionInfobyteValue in class AbstractAttributeDefinitionInfopublic short shortValue(byte[] bytes,
int offset)
shortValue in interface AttributeDefinitionInfoshortValue in class AbstractAttributeDefinitionInfopublic int intValue(byte[] bytes,
int offset)
intValue in interface AttributeDefinitionInfointValue in class AbstractAttributeDefinitionInfopublic long longValue(byte[] bytes,
int offset)
longValue in interface AttributeDefinitionInfolongValue in class AbstractAttributeDefinitionInfopublic float floatValue(byte[] bytes,
int offset)
floatValue in interface AttributeDefinitionInfofloatValue in class AbstractAttributeDefinitionInfopublic double doubleValue(byte[] bytes,
int offset)
doubleValue in interface AttributeDefinitionInfodoubleValue in class AbstractAttributeDefinitionInfo