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

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

public class ArrayAttributeInfo
extends AbstractAttributeInfo

Klasse, die noch zu dokumentieren ist.

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

Field Summary
private  AttributeInfo _elementInfo
           
private  int _fixedSize
           
private  boolean _sizeFixed
           
 
Constructor Summary
ArrayAttributeInfo(Attribute attribute, int offset, AttributeInfo offsetReferral, AttributeDefinitionInfo definitionInfo)
           
 
Method Summary
 int getAbsoluteElementOffset(byte[] bytes, int offset, int elementIndex)
           
 int getElementCount(byte[] bytes, int offset)
           
 AttributeInfo getElementInfo()
           
 int getFixedSize()
           
private  int getRelativeOffset(byte[] bytes, int offset, int elementIndex)
           
 int getSize(byte[] bytes, int offset)
           
 boolean isArray()
           
 boolean isSizeFixed()
           
 
Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.data.info.version1.AbstractAttributeInfo
createModifiableData, dump, forAttribute, getAbsoluteOffset, getAttribute, getDefinitionInfo, getMaxCount, getName, getOffsetReferral, getRelativeOffset, isCountLimited, isCountVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_sizeFixed

private final boolean _sizeFixed

_fixedSize

private final int _fixedSize

_elementInfo

private final AttributeInfo _elementInfo
Constructor Detail

ArrayAttributeInfo

public ArrayAttributeInfo(Attribute attribute,
                          int offset,
                          AttributeInfo offsetReferral,
                          AttributeDefinitionInfo definitionInfo)
Method Detail

isArray

public boolean isArray()

isSizeFixed

public boolean isSizeFixed()

getFixedSize

public int getFixedSize()

getSize

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

getElementCount

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

getAbsoluteElementOffset

public int getAbsoluteElementOffset(byte[] bytes,
                                    int offset,
                                    int elementIndex)

getElementInfo

public AttributeInfo getElementInfo()

getRelativeOffset

private int getRelativeOffset(byte[] bytes,
                              int offset,
                              int elementIndex)