public abstract class AbstractAttributeDefinitionInfo extends java.lang.Object implements AttributeDefinitionInfo
Constructor and Description |
---|
AbstractAttributeDefinitionInfo() |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue(byte[] bytes,
int offset) |
double |
doubleValue(byte[] bytes,
int offset) |
float |
floatValue(byte[] bytes,
int offset) |
static AttributeDefinitionInfo |
forAttributeType(AttributeType attributeType) |
static AttributeDefinitionInfo |
forAttributSet(AttributeSet attributeSet) |
static void |
forgetDataModel(DataModel dataModel) |
long |
getId(byte[] bytes,
int offset) |
long |
getMillis(byte[] bytes,
int offset) |
long |
getSeconds(byte[] bytes,
int offset) |
IntegerValueState |
getState(byte[] bytes,
int offset) |
SystemObject |
getSystemObject(byte[] bytes,
int offset) |
java.lang.String |
getUnscaledSuffixText(byte[] bytes,
int offset) |
java.lang.String |
getUnscaledValueText(byte[] bytes,
int offset) |
int |
intValue(byte[] bytes,
int offset) |
boolean |
isNumber(byte[] bytes,
int offset) |
boolean |
isNumberAttribute() |
boolean |
isReferenceAttribute() |
boolean |
isScalableNumberAttribute() |
boolean |
isState(byte[] bytes,
int offset) |
boolean |
isTimeAttribute() |
long |
longValue(byte[] bytes,
int offset) |
short |
shortValue(byte[] bytes,
int offset) |
byte |
unscaledByteValue(byte[] bytes,
int offset) |
double |
unscaledDoubleValue(byte[] bytes,
int offset) |
float |
unscaledFloatValue(byte[] bytes,
int offset) |
int |
unscaledIntValue(byte[] bytes,
int offset) |
long |
unscaledLongValue(byte[] bytes,
int offset) |
short |
unscaledShortValue(byte[] bytes,
int offset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsItem, dump, getAttributeType, getFixedSize, getItem, getItem, getItemCount, getSize, getSuffixText, getValueText, isList, isSizeFixed
public static void forgetDataModel(DataModel dataModel)
public static AttributeDefinitionInfo forAttributSet(AttributeSet attributeSet)
public static AttributeDefinitionInfo forAttributeType(AttributeType attributeType)
public boolean isTimeAttribute()
isTimeAttribute
in interface AttributeDefinitionInfo
public long getSeconds(byte[] bytes, int offset)
getSeconds
in interface AttributeDefinitionInfo
public long getMillis(byte[] bytes, int offset)
getMillis
in interface AttributeDefinitionInfo
public boolean isReferenceAttribute()
isReferenceAttribute
in interface AttributeDefinitionInfo
public long getId(byte[] bytes, int offset)
getId
in interface AttributeDefinitionInfo
public SystemObject getSystemObject(byte[] bytes, int offset)
getSystemObject
in interface AttributeDefinitionInfo
public boolean isNumberAttribute()
isNumberAttribute
in interface AttributeDefinitionInfo
public boolean isScalableNumberAttribute()
isScalableNumberAttribute
in interface AttributeDefinitionInfo
public boolean isNumber(byte[] bytes, int offset)
isNumber
in interface AttributeDefinitionInfo
public boolean isState(byte[] bytes, int offset)
isState
in interface AttributeDefinitionInfo
public byte unscaledByteValue(byte[] bytes, int offset)
unscaledByteValue
in interface AttributeDefinitionInfo
public short unscaledShortValue(byte[] bytes, int offset)
unscaledShortValue
in interface AttributeDefinitionInfo
public int unscaledIntValue(byte[] bytes, int offset)
unscaledIntValue
in interface AttributeDefinitionInfo
public long unscaledLongValue(byte[] bytes, int offset)
unscaledLongValue
in interface AttributeDefinitionInfo
public float unscaledFloatValue(byte[] bytes, int offset)
unscaledFloatValue
in interface AttributeDefinitionInfo
public double unscaledDoubleValue(byte[] bytes, int offset)
unscaledDoubleValue
in interface AttributeDefinitionInfo
public java.lang.String getUnscaledValueText(byte[] bytes, int offset)
getUnscaledValueText
in interface AttributeDefinitionInfo
public java.lang.String getUnscaledSuffixText(byte[] bytes, int offset)
getUnscaledSuffixText
in interface AttributeDefinitionInfo
public IntegerValueState getState(byte[] bytes, int offset)
getState
in interface AttributeDefinitionInfo
public byte byteValue(byte[] bytes, int offset)
byteValue
in interface AttributeDefinitionInfo
public short shortValue(byte[] bytes, int offset)
shortValue
in interface AttributeDefinitionInfo
public int intValue(byte[] bytes, int offset)
intValue
in interface AttributeDefinitionInfo
public long longValue(byte[] bytes, int offset)
longValue
in interface AttributeDefinitionInfo
public float floatValue(byte[] bytes, int offset)
floatValue
in interface AttributeDefinitionInfo
public double doubleValue(byte[] bytes, int offset)
doubleValue
in interface AttributeDefinitionInfo