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

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

public class DoubleDefinitionInfo
extends AttributeTypeDefinitionInfo

Klasse, die noch zu dokumentieren ist.

Author:
Kappich+Kniß Systemberatung Aachen (K2S), Roland Schmitz (rs)

Field Summary
private  String _unit
           
 
Fields inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.AttributeTypeDefinitionInfo
_doubleNumberFormat
 
Constructor Summary
DoubleDefinitionInfo(DoubleAttributeType att)
           
 
Method Summary
 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)
           
 
Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.AttributeTypeDefinitionInfo
dump, getAttributeType, getItem, getItem, getItemCount, getSize, isList, readInt, readLong, readShort, readUnsignedInt
 
Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.AbstractAttributeDefinitionInfo
forAttributeType, forAttributSet, forgetDataModel, getId, getMillis, getSeconds, getSystemObject, getUnscaledSuffixText, getUnscaledValueText, isReferenceAttribute, isTimeAttribute, unscaledByteValue, unscaledDoubleValue, unscaledFloatValue, unscaledIntValue, unscaledLongValue, unscaledShortValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_unit

private final String _unit
Constructor Detail

DoubleDefinitionInfo

public DoubleDefinitionInfo(DoubleAttributeType att)
Method Detail

isSizeFixed

public boolean isSizeFixed()

getFixedSize

public int getFixedSize()

getValueText

public String getValueText(byte[] bytes,
                           int offset)

getSuffixText

public String getSuffixText(byte[] bytes,
                            int offset)

isNumberAttribute

public boolean isNumberAttribute()
Specified by:
isNumberAttribute in interface AttributeDefinitionInfo
Overrides:
isNumberAttribute in class AbstractAttributeDefinitionInfo

isScalableNumberAttribute

public boolean isScalableNumberAttribute()
Specified by:
isScalableNumberAttribute in interface AttributeDefinitionInfo
Overrides:
isScalableNumberAttribute in class AbstractAttributeDefinitionInfo

isNumber

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

isState

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

getState

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

byteValue

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

shortValue

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

intValue

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

longValue

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

floatValue

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

doubleValue

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