com.cysols.iodef.element
Class Record

java.lang.Object
  extended by com.cysols.iodef.IElement
      extended by com.cysols.iodef.element.Record

public class Record
extends IElement

This class is value object which represents Record.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addRecordData(RecordData record)
          Adds the specified record data element.
 RecordData[] getRecordDatas()
          Returns the array of record data value.
 String getRestriction()
          Returns the restriction value.
 void setRestriction(String value)
          Sets the specified restriction value.
 
Methods inherited from class com.cysols.iodef.IElement
addElement, addElementValue, createAttribute, createDomElement, createrElement, getAttribute, getAttributeNames, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueINS, getAttributeValuesINS, getElementList, getElementName, getElements, getElements, getElements, getElementsINS, getElementsValue, getElementValue, getNameSpace, getValue, removeAttribute, removeAttribute, removeElements, setAttribute, setAttribute, setAttribute, setAttributeINS, setElementINS, setElementsINS, setElementValue, setNameSpace, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRecordDatas

public RecordData[] getRecordDatas()
Returns the array of record data value. reutrns null if they doesn't exist.

Returns:
the array of flow value

addRecordData

public void addRecordData(RecordData record)
Adds the specified record data element.

Parameters:
record - the record data element

getRestriction

public String getRestriction()
Returns the restriction value. reutrns null if it doesn't exist.

Returns:
the restriction value.

setRestriction

public void setRestriction(String value)
Sets the specified restriction value.

Parameters:
value - - restriction value