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

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.SingleAttributeInfo
All Implemented Interfaces:
AttributeInfo

public class SingleAttributeInfo
extends AbstractAttributeInfo

Klasse, die noch zu dokumentieren ist.

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

Field Summary
private  int _fixedSize
           
private  boolean _sizeFixed
           
 
Constructor Summary
SingleAttributeInfo(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()
           
 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
Constructor Detail

SingleAttributeInfo

public SingleAttributeInfo(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()