|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjpl.eda.archive.server.ElementList
This class builds a list of data elements with their associated attribute information.
ElementAttrInfo| Constructor Summary | |
ElementList()
Constructor given no arguments. |
|
| Method Summary | |
void |
addElement(ElementAttrInfo elementAttrInfo)
Add a data element to the list. |
void |
addElement(int elementId,
java.lang.String elementName,
java.lang.String dataType,
java.lang.String coreFlag,
int length,
int scale,
int minValue,
int maxValue,
java.lang.String metadataColumn,
java.lang.String dcElement,
java.lang.String description,
java.lang.String mandatoryFlag,
java.lang.String indexFlag)
Add a data element to the list. |
int |
getCount()
Get the number of data elements in the hash map. |
ElementAttrInfo |
getElementAttrInfo(int index)
Get attribute information for the given data element represented by its array index. |
ElementAttrInfo |
getElementAttrInfo(java.lang.String elementName)
Get attribute information for the given data element. |
ElementAttrInfo |
getElementAttrInfoDc(java.lang.String dcElement)
Get attribute information for the given Dublin Core element map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ElementList()
| Method Detail |
public void addElement(int elementId,
java.lang.String elementName,
java.lang.String dataType,
java.lang.String coreFlag,
int length,
int scale,
int minValue,
int maxValue,
java.lang.String metadataColumn,
java.lang.String dcElement,
java.lang.String description,
java.lang.String mandatoryFlag,
java.lang.String indexFlag)
elementId - The identifier for the data element.elementName - The name of the data element.dataType - The data type of the value.coreFlag - The core element flag.length - The length of value allowed.scale - The scale factor of the value.minValue - The minimum value.maxValue - The maximum value.metadataColumn - The associated product metadata table column.dcElement - The Dublin Core element mapped to this data element.description - The description of the data element.mandatoryFlag - The mandatory flag.indexFlag - The index flag.public void addElement(ElementAttrInfo elementAttrInfo)
elementAttrInfo - An element attribute information object.public int getCount()
size to match the rest of Java,
but instead it matches the rest of OODT.
public ElementAttrInfo getElementAttrInfo(java.lang.String elementName)
elementName - The name of the data element.
public ElementAttrInfo getElementAttrInfo(int index)
index - The index of the data element representing its location in
the array.
public ElementAttrInfo getElementAttrInfoDc(java.lang.String dcElement)
dcElement - The name of the Dublin Core element map.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||