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

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

public class AttributeGroupInfo
extends Object
implements AttributeInfo

Klasse, die noch zu dokumentieren ist.

Author:
Roland Schmitz (rs), Kappich Systemberatung

Field Summary
private  AttributeGroup _atg
           
private static Map<AttributeGroup,AttributeInfo> _Atg2AttributeInfo
           
private  AttributeDefinitionInfo _definitionInfo
           
 
Constructor Summary
private AttributeGroupInfo(AttributeGroup atg)
           
 
Method Summary
 Data createModifiableData(byte[] bytes)
           
 void dump(int indent)
           
static AttributeInfo forAttributeGroup(AttributeGroup atg)
           
static void forgetDataModel(DataModel dataModel)
           
 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
 

Field Detail

_Atg2AttributeInfo

private static final Map<AttributeGroup,AttributeInfo> _Atg2AttributeInfo

_atg

private final AttributeGroup _atg

_definitionInfo

private final AttributeDefinitionInfo _definitionInfo
Constructor Detail

AttributeGroupInfo

private AttributeGroupInfo(AttributeGroup atg)
Method Detail

forAttributeGroup

public static AttributeInfo forAttributeGroup(AttributeGroup atg)

forgetDataModel

public static void forgetDataModel(DataModel dataModel)

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