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

java.lang.Object
  extended by de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.ArrayElementAttributeInfo
All Implemented Interfaces:
AttributeInfo

public class ArrayElementAttributeInfo
extends Object
implements AttributeInfo

Klasse, die noch zu dokumentieren ist.

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

Constructor Summary
ArrayElementAttributeInfo(Attribute attribute, AttributeDefinitionInfo definitionInfo)
           
 
Method Summary
 Data createModifiableData(byte[] bytes)
           
 void dump(int indent)
           
 int getAbsoluteElementOffset(byte[] bytes, int offset, int elementIndex)
           
 int getAbsoluteOffset(byte[] bytes, int parentOffset)
           
 AttributeDefinitionInfo getDefinitionInfo()
           
 int getElementCount(byte[] bytes, int offset)
           
 AttributeInfo getElementInfo()
           
 int getFixedSize()
           
 int getMaxCount()
           
 String getName()
           
 AttributeInfo getOffsetReferral()
           
 int getRelativeOffset()
           
 int getSize(byte[] bytes, int offset)
           
 boolean isArray()
           
 boolean isCountLimited()
           
 boolean isCountVariable()
           
 boolean isSizeFixed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayElementAttributeInfo

public ArrayElementAttributeInfo(Attribute attribute,
                                 AttributeDefinitionInfo definitionInfo)
Method Detail

getName

public String getName()
Specified by:
getName in interface AttributeInfo

getDefinitionInfo

public AttributeDefinitionInfo getDefinitionInfo()
Specified by:
getDefinitionInfo in interface AttributeInfo

isArray

public boolean isArray()
Specified by:
isArray in interface AttributeInfo

dump

public void dump(int indent)
Specified by:
dump in interface AttributeInfo

isSizeFixed

public boolean isSizeFixed()
Specified by:
isSizeFixed in interface AttributeInfo

getFixedSize

public int getFixedSize()
Specified by:
getFixedSize in interface AttributeInfo

getSize

public int getSize(byte[] bytes,
                   int offset)
Specified by:
getSize in interface AttributeInfo

getRelativeOffset

public int getRelativeOffset()
Specified by:
getRelativeOffset in interface AttributeInfo

getOffsetReferral

public AttributeInfo getOffsetReferral()
Specified by:
getOffsetReferral in interface AttributeInfo

getAbsoluteOffset

public int getAbsoluteOffset(byte[] bytes,
                             int parentOffset)
Specified by:
getAbsoluteOffset in interface AttributeInfo

getElementCount

public int getElementCount(byte[] bytes,
                           int offset)
Specified by:
getElementCount in interface AttributeInfo

getAbsoluteElementOffset

public int getAbsoluteElementOffset(byte[] bytes,
                                    int offset,
                                    int elementIndex)
Specified by:
getAbsoluteElementOffset in interface AttributeInfo

getElementInfo

public AttributeInfo getElementInfo()
Specified by:
getElementInfo in interface AttributeInfo

isCountVariable

public boolean isCountVariable()
Specified by:
isCountVariable in interface AttributeInfo

isCountLimited

public boolean isCountLimited()
Specified by:
isCountLimited in interface AttributeInfo

getMaxCount

public int getMaxCount()
Specified by:
getMaxCount in interface AttributeInfo

createModifiableData

public Data createModifiableData(byte[] bytes)
Specified by:
createModifiableData in interface AttributeInfo