public abstract class NumberDefinitionInfo extends AttributeTypeDefinitionInfo
| Modifier and Type | Field and Description |
|---|---|
protected static java.text.NumberFormat |
_integerNumberFormat |
protected static java.text.NumberFormat |
_precisionTestNumberFormat |
_doubleNumberFormat| Constructor and Description |
|---|
NumberDefinitionInfo(IntegerAttributeType 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) |
IntegerValueState |
getState(byte[] bytes,
int offset) |
protected IntegerValueState |
getState(long value) |
java.lang.String |
getSuffixText(byte[] bytes,
int offset) |
java.lang.String |
getUnscaledSuffixText(byte[] bytes,
int offset) |
java.lang.String |
getUnscaledValueText(byte[] bytes,
int offset) |
java.lang.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) |
containsItem, dump, getAttributeType, getItem, getItem, getItemCount, getSize, isList, readInt, readLong, readShort, readUnsignedIntforAttributeType, forAttributSet, forgetDataModel, getId, getMillis, getSeconds, getSystemObject, isReferenceAttribute, isTimeAttribute, unscaledByteValue, unscaledDoubleValue, unscaledFloatValue, unscaledIntValue, unscaledLongValue, unscaledShortValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFixedSizeprotected static final java.text.NumberFormat _integerNumberFormat
protected static final java.text.NumberFormat _precisionTestNumberFormat
public NumberDefinitionInfo(IntegerAttributeType att)
public boolean isSizeFixed()
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 java.lang.String getUnscaledValueText(byte[] bytes,
int offset)
getUnscaledValueText in interface AttributeDefinitionInfogetUnscaledValueText in class AbstractAttributeDefinitionInfopublic java.lang.String getUnscaledSuffixText(byte[] bytes,
int offset)
getUnscaledSuffixText in interface AttributeDefinitionInfogetUnscaledSuffixText in class AbstractAttributeDefinitionInfopublic java.lang.String getValueText(byte[] bytes,
int offset)
public java.lang.String getSuffixText(byte[] bytes,
int offset)
public IntegerValueState getState(byte[] bytes, int offset)
getState in interface AttributeDefinitionInfogetState in class AbstractAttributeDefinitionInfoprotected IntegerValueState getState(long value)
public 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