com.cysols.iodef.element
Class History

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

public class History
extends IElement

This class is value object which represents History.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addHistoryItem(HistoryItem item)
          Adds the specified history item element
 HistoryItem[] getHistoryItems()
          Returns the array of HistoryItem 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

addHistoryItem

public void addHistoryItem(HistoryItem item)
Adds the specified history item element

Parameters:
item - the history item element

getHistoryItems

public HistoryItem[] getHistoryItems()
Returns the array of HistoryItem value. reutrns null if it doesn't exist.

Returns:
the array of history item value

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.