Class AbstractAttributeDefinitionInfo
- java.lang.Object
-
- de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.AbstractAttributeDefinitionInfo
-
- All Implemented Interfaces:
AttributeDefinitionInfo
- Direct Known Subclasses:
AttributeSetDefinitionInfo
,AttributeTypeDefinitionInfo
public abstract class AbstractAttributeDefinitionInfo extends java.lang.Object implements AttributeDefinitionInfo
Klasse, die noch zu dokumentieren ist.
-
-
Constructor Summary
Constructors Constructor Description AbstractAttributeDefinitionInfo()
-
Method Summary
Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.bsvrz.dav.daf.communication.dataRepresentation.data.info.AttributeDefinitionInfo
containsItem, dump, getAttributeType, getFixedSize, getItem, getItem, getItemCount, getSize, getSuffixText, getValueText, isList, isSizeFixed
-
-
-
-
Method Detail
-
forgetDataModel
public static void forgetDataModel(DataModel dataModel)
-
forAttributSet
public static AttributeDefinitionInfo forAttributSet(AttributeSet attributeSet)
-
forAttributeType
public static AttributeDefinitionInfo forAttributeType(AttributeType attributeType)
-
isTimeAttribute
public boolean isTimeAttribute()
- Specified by:
isTimeAttribute
in interfaceAttributeDefinitionInfo
-
getSeconds
public long getSeconds(byte[] bytes, int offset)
- Specified by:
getSeconds
in interfaceAttributeDefinitionInfo
-
getMillis
public long getMillis(byte[] bytes, int offset)
- Specified by:
getMillis
in interfaceAttributeDefinitionInfo
-
isReferenceAttribute
public boolean isReferenceAttribute()
- Specified by:
isReferenceAttribute
in interfaceAttributeDefinitionInfo
-
getId
public long getId(byte[] bytes, int offset)
- Specified by:
getId
in interfaceAttributeDefinitionInfo
-
getSystemObject
public SystemObject getSystemObject(byte[] bytes, int offset)
- Specified by:
getSystemObject
in interfaceAttributeDefinitionInfo
-
isNumberAttribute
public boolean isNumberAttribute()
- Specified by:
isNumberAttribute
in interfaceAttributeDefinitionInfo
-
isScalableNumberAttribute
public boolean isScalableNumberAttribute()
- Specified by:
isScalableNumberAttribute
in interfaceAttributeDefinitionInfo
-
isNumber
public boolean isNumber(byte[] bytes, int offset)
- Specified by:
isNumber
in interfaceAttributeDefinitionInfo
-
isState
public boolean isState(byte[] bytes, int offset)
- Specified by:
isState
in interfaceAttributeDefinitionInfo
-
unscaledByteValue
public byte unscaledByteValue(byte[] bytes, int offset)
- Specified by:
unscaledByteValue
in interfaceAttributeDefinitionInfo
-
unscaledShortValue
public short unscaledShortValue(byte[] bytes, int offset)
- Specified by:
unscaledShortValue
in interfaceAttributeDefinitionInfo
-
unscaledIntValue
public int unscaledIntValue(byte[] bytes, int offset)
- Specified by:
unscaledIntValue
in interfaceAttributeDefinitionInfo
-
unscaledLongValue
public long unscaledLongValue(byte[] bytes, int offset)
- Specified by:
unscaledLongValue
in interfaceAttributeDefinitionInfo
-
unscaledFloatValue
public float unscaledFloatValue(byte[] bytes, int offset)
- Specified by:
unscaledFloatValue
in interfaceAttributeDefinitionInfo
-
unscaledDoubleValue
public double unscaledDoubleValue(byte[] bytes, int offset)
- Specified by:
unscaledDoubleValue
in interfaceAttributeDefinitionInfo
-
getUnscaledValueText
public java.lang.String getUnscaledValueText(byte[] bytes, int offset)
- Specified by:
getUnscaledValueText
in interfaceAttributeDefinitionInfo
-
getUnscaledSuffixText
public java.lang.String getUnscaledSuffixText(byte[] bytes, int offset)
- Specified by:
getUnscaledSuffixText
in interfaceAttributeDefinitionInfo
-
getState
public IntegerValueState getState(byte[] bytes, int offset)
- Specified by:
getState
in interfaceAttributeDefinitionInfo
-
byteValue
public byte byteValue(byte[] bytes, int offset)
- Specified by:
byteValue
in interfaceAttributeDefinitionInfo
-
shortValue
public short shortValue(byte[] bytes, int offset)
- Specified by:
shortValue
in interfaceAttributeDefinitionInfo
-
intValue
public int intValue(byte[] bytes, int offset)
- Specified by:
intValue
in interfaceAttributeDefinitionInfo
-
longValue
public long longValue(byte[] bytes, int offset)
- Specified by:
longValue
in interfaceAttributeDefinitionInfo
-
floatValue
public float floatValue(byte[] bytes, int offset)
- Specified by:
floatValue
in interfaceAttributeDefinitionInfo
-
doubleValue
public double doubleValue(byte[] bytes, int offset)
- Specified by:
doubleValue
in interfaceAttributeDefinitionInfo
-
-