de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1
Class AbstractAttributeDefinitionInfo

java.lang.Object
  extended by de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.AbstractAttributeDefinitionInfo
All Implemented Interfaces:
AttributeDefinitionInfo
Direct Known Subclasses:
AttributeSetDefinitionInfo, AttributeTypeDefinitionInfo

public abstract class AbstractAttributeDefinitionInfo
extends Object
implements AttributeDefinitionInfo

Klasse, die noch zu dokumentieren ist.

Author:
Roland Schmitz (rs), Kappich Systemberatung

Constructor Summary
AbstractAttributeDefinitionInfo()
           
 
Method Summary
 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)
           
 String getUnscaledSuffixText(byte[] bytes, int offset)
           
 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
dump, getAttributeType, getFixedSize, getItem, getItem, getItemCount, getSize, getSuffixText, getValueText, isList, isSizeFixed
 

Constructor Detail

AbstractAttributeDefinitionInfo

public AbstractAttributeDefinitionInfo()
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 interface AttributeDefinitionInfo

getSeconds

public long getSeconds(byte[] bytes,
                       int offset)
Specified by:
getSeconds in interface AttributeDefinitionInfo

getMillis

public long getMillis(byte[] bytes,
                      int offset)
Specified by:
getMillis in interface AttributeDefinitionInfo

isReferenceAttribute

public boolean isReferenceAttribute()
Specified by:
isReferenceAttribute in interface AttributeDefinitionInfo

getId

public long getId(byte[] bytes,
                  int offset)
Specified by:
getId in interface AttributeDefinitionInfo

getSystemObject

public SystemObject getSystemObject(byte[] bytes,
                                    int offset)
Specified by:
getSystemObject in interface AttributeDefinitionInfo

isNumberAttribute

public boolean isNumberAttribute()
Specified by:
isNumberAttribute in interface AttributeDefinitionInfo

isScalableNumberAttribute

public boolean isScalableNumberAttribute()
Specified by:
isScalableNumberAttribute in interface AttributeDefinitionInfo

isNumber

public boolean isNumber(byte[] bytes,
                        int offset)
Specified by:
isNumber in interface AttributeDefinitionInfo

isState

public boolean isState(byte[] bytes,
                       int offset)
Specified by:
isState in interface AttributeDefinitionInfo

unscaledByteValue

public byte unscaledByteValue(byte[] bytes,
                              int offset)
Specified by:
unscaledByteValue in interface AttributeDefinitionInfo

unscaledShortValue

public short unscaledShortValue(byte[] bytes,
                                int offset)
Specified by:
unscaledShortValue in interface AttributeDefinitionInfo

unscaledIntValue

public int unscaledIntValue(byte[] bytes,
                            int offset)
Specified by:
unscaledIntValue in interface AttributeDefinitionInfo

unscaledLongValue

public long unscaledLongValue(byte[] bytes,
                              int offset)
Specified by:
unscaledLongValue in interface AttributeDefinitionInfo

unscaledFloatValue

public float unscaledFloatValue(byte[] bytes,
                                int offset)
Specified by:
unscaledFloatValue in interface AttributeDefinitionInfo

unscaledDoubleValue

public double unscaledDoubleValue(byte[] bytes,
                                  int offset)
Specified by:
unscaledDoubleValue in interface AttributeDefinitionInfo

getUnscaledValueText

public String getUnscaledValueText(byte[] bytes,
                                   int offset)
Specified by:
getUnscaledValueText in interface AttributeDefinitionInfo

getUnscaledSuffixText

public String getUnscaledSuffixText(byte[] bytes,
                                    int offset)
Specified by:
getUnscaledSuffixText in interface AttributeDefinitionInfo

getState

public IntegerValueState getState(byte[] bytes,
                                  int offset)
Specified by:
getState in interface AttributeDefinitionInfo

byteValue

public byte byteValue(byte[] bytes,
                      int offset)
Specified by:
byteValue in interface AttributeDefinitionInfo

shortValue

public short shortValue(byte[] bytes,
                        int offset)
Specified by:
shortValue in interface AttributeDefinitionInfo

intValue

public int intValue(byte[] bytes,
                    int offset)
Specified by:
intValue in interface AttributeDefinitionInfo

longValue

public long longValue(byte[] bytes,
                      int offset)
Specified by:
longValue in interface AttributeDefinitionInfo

floatValue

public float floatValue(byte[] bytes,
                        int offset)
Specified by:
floatValue in interface AttributeDefinitionInfo

doubleValue

public double doubleValue(byte[] bytes,
                          int offset)
Specified by:
doubleValue in interface AttributeDefinitionInfo