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

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
All Implemented Interfaces:
AttributeDefinitionInfo
Direct Known Subclasses:
AbsoluteMillisecondsDefinitionInfo, AbsoluteSecondsDefinitionInfo, DoubleDefinitionInfo, NumberDefinitionInfo, ReferenceDefinitionInfo, RelativeTimeDefinitionInfo, StringDefinitionInfo

public abstract class AttributeTypeDefinitionInfo
extends AbstractAttributeDefinitionInfo

Schnittstelle, die noch zu dokumentieren ist.

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

Field Summary
protected static NumberFormat _doubleNumberFormat
           
 
Constructor Summary
protected AttributeTypeDefinitionInfo(AttributeType attributeType)
           
 
Method Summary
 void dump(int indent)
           
 AttributeType getAttributeType()
           
 AttributeInfo getItem(int itemIndex)
           
 AttributeInfo getItem(String name)
           
 int getItemCount()
           
 int getSize(byte[] bytes, int offset)
           
 boolean isList()
           
protected  int readInt(byte[] bytes, int offset)
           
protected  long readLong(byte[] bytes, int offset)
           
protected  short readShort(byte[] bytes, int offset)
           
protected  long readUnsignedInt(byte[] bytes, int offset)
           
 
Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.AbstractAttributeDefinitionInfo
byteValue, doubleValue, floatValue, forAttributeType, forAttributSet, forgetDataModel, getId, getMillis, getSeconds, getState, getSystemObject, getUnscaledSuffixText, getUnscaledValueText, intValue, isNumber, isNumberAttribute, isReferenceAttribute, isScalableNumberAttribute, isState, isTimeAttribute, longValue, shortValue, unscaledByteValue, unscaledDoubleValue, unscaledFloatValue, unscaledIntValue, unscaledLongValue, unscaledShortValue
 
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
getFixedSize, getSuffixText, getValueText, isSizeFixed
 

Field Detail

_doubleNumberFormat

protected static final NumberFormat _doubleNumberFormat
Constructor Detail

AttributeTypeDefinitionInfo

protected AttributeTypeDefinitionInfo(AttributeType attributeType)
Method Detail

getAttributeType

public AttributeType getAttributeType()

isList

public boolean isList()

getItem

public AttributeInfo getItem(String name)

getItem

public AttributeInfo getItem(int itemIndex)

getItemCount

public int getItemCount()

dump

public void dump(int indent)

getSize

public int getSize(byte[] bytes,
                   int offset)

readLong

protected long readLong(byte[] bytes,
                        int offset)

readUnsignedInt

protected long readUnsignedInt(byte[] bytes,
                               int offset)

readInt

protected int readInt(byte[] bytes,
                      int offset)

readShort

protected short readShort(byte[] bytes,
                          int offset)