org.ipdr.xdr
Class CompositeAttributeDescriptor
java.lang.Object
org.ipdr.xdr.AttributeDescriptor
org.ipdr.xdr.CompositeAttributeDescriptor
public class CompositeAttributeDescriptor
- extends AttributeDescriptor
The CompositeAttributeDescriptor is a structure to hold a Composite
Attribute Descriptor. It contains a list of Attribute Descriptors,
the child elements of the Composite Element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listAttributeDescriptor_
protected java.util.ArrayList listAttributeDescriptor_
- To store List of Attribute Descriptors.
CompositeAttributeDescriptor
public CompositeAttributeDescriptor(java.lang.String name,
int code,
int len)
- Constructor. Derived from base AttributeDescriptor class
- Parameters:
name
- Name of the attributecode
- Type code of the attributelen
- Max Length of the attribute
addAttributeDescriptor
public boolean addAttributeDescriptor(AttributeDescriptor element)
- Method to add an Attribute Descriptor into the list.
- Parameters:
element
- Attribute Descriptor to add
- Returns:
- True/False depending on Success/Fail
getListAttributeDescriptors
public java.util.ArrayList getListAttributeDescriptors()
- Method to add get all Attribute Descriptors from the list.
- Returns:
- List of Attribute Descriptors