com.cysols.iodef.element
Class HistoryItem

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

public class HistoryItem
extends IElement

This class is value object which represents HistoryItem.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addDescription(String descr)
          Adds the specified desciption value.
 String getDateTimeValue()
          Returns the date time value.
 String[] getDescription()
          Returns the array of description value.
 String getHistorycat()
          Returns the historycat value.
 String getIncidentIDValue()
          Returns the incident id value.
 String getRestriction()
          Returns the restriction value.
 String getType()
          Returns the type value.
 void setDateTimeValue(String time)
          Sets the date time value.
 void setHistorycat(String value)
          Sets the specified historycat value.
 void setIncidentIDValue(String value)
          Sets the incident id value.
 void setRestriction(String value)
          Sets the specified restriction value.
 void setType(String type)
          Sets the specified type 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

setDateTimeValue

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

Parameters:
time - the date time value

getDateTimeValue

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

Returns:
the date time value

setIncidentIDValue

public void setIncidentIDValue(String value)
Sets the incident id value.

Parameters:
value - - incident id value

getIncidentIDValue

public String getIncidentIDValue()
Returns the incident id value. reutrns null if it doesn't exist.

Returns:
incident id value

addDescription

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

Parameters:
descr - - desciption value

getDescription

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

Returns:
the array of description value.

setType

public void setType(String type)
Sets the specified type value.

Parameters:
type - the type value

getType

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

Returns:
the type 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.

setHistorycat

public void setHistorycat(String value)
Sets the specified historycat value.

Parameters:
value - the historycat value

getHistorycat

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

Returns:
the historycat value.