com.cysols.iodef.element
Class RecordData

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

public class RecordData
extends IElement

This class is value object which represents RecordData.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addDescriptionValue(String descr)
          Adds the specified desciption value.
 void addRecordItemValue(String recorditem, String dtype)
          Adds the specified desciption value.
 Application getApplication()
          Returns the Application element.
 String getDateTimeValue()
          Returns the date time value.
 String[] getDescriptionValues()
          Returns the array of description value.
 String[] getRecordItemDtypes()
          Returns the array of type of RecordItem element.
 String[] getRecordItemValues()
          Returns the array of record item value.
 String getRestriction()
          Returns the restriction value.
 void setApplication(Application app)
          Sets the specified Application elment.
 void setDateTimeValue(String value)
          Sets the date time 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

getDescriptionValues

public String[] getDescriptionValues()
Returns the array of description value. reutrns null if description doesn't exist.

Returns:
the array of description value.

addDescriptionValue

public void addDescriptionValue(String descr)
Adds the specified desciption value.

Parameters:
descr - the desciption value

getDateTimeValue

public String getDateTimeValue()
Returns the date time value. reutrns null if it doesn't exist.

Returns:
date time value

setDateTimeValue

public void setDateTimeValue(String value)
Sets the date time value.

Parameters:
value - the date time value

getApplication

public Application getApplication()
Returns the Application element. return null if it doesn't exist.

Returns:
the Application elment.

setApplication

public void setApplication(Application app)
Sets the specified Application elment.

Parameters:
app - the anayzer element.

addRecordItemValue

public void addRecordItemValue(String recorditem,
                               String dtype)
Adds the specified desciption value.

Parameters:
recorditem - - recorditem value

getRecordItemValues

public String[] getRecordItemValues()
Returns the array of record item value. reutrns null if they doesn't exist.

Returns:
the array of record item value.

getRecordItemDtypes

public String[] getRecordItemDtypes()
Returns the array of type of RecordItem element. reutrns null if they doesn't exist.

Returns:
the array of dtype of RecordItem element.

setRestriction

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

Parameters:
value - - restriction value

getRestriction

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

Returns:
the restriction value.