com.cysols.iodef.element
Class Expectation

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

public class Expectation
extends IElement

This class is value object which represents Expectation element.

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.
 Contact getContact()
          Returns the Contact value.
 String[] getDescriptionValues()
          Returns the array of description value.
 String getEndTimeValue()
          Returns the end time value.
 String getExpectcat()
          Returns the category value.
 String getPriority()
          Returns the priority value.
 String getRestriction()
          Returns the restriction value.
 String getStartTimeValue()
          Returns the start time value.
 void setContanct(Contact con)
          Sets the specified contact element
 void setEndTimeValue(String value)
          Sets the end time value.
 void setExpectcat(String value)
          Sets the specified category value.
 void setPriority(String value)
          Sets the specified priority value.
 void setRestriction(String value)
          Sets the specified restriction value.
 void setStartTimeValue(String value)
          Sets the start time 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

addDescriptionValue

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

Parameters:
descr - - desciption value

getDescriptionValues

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

Returns:
the array of description value.

setContanct

public void setContanct(Contact con)
Sets the specified contact element

Parameters:
con - - contact element

getContact

public Contact getContact()
Returns the Contact value. reutrns null if they doesn't exist.

Returns:
the contact value

setStartTimeValue

public void setStartTimeValue(String value)
Sets the start time value.

Parameters:
value - - start time value

getStartTimeValue

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

Returns:
start time value

setEndTimeValue

public void setEndTimeValue(String value)
Sets the end time value.

Parameters:
value - - end time value

getEndTimeValue

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

Returns:
end time 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.

setPriority

public void setPriority(String value)
Sets the specified priority value.

Parameters:
value - - priority value

getPriority

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

Returns:
the priority value.

setExpectcat

public void setExpectcat(String value)
Sets the specified category value.

Parameters:
value - - category value

getExpectcat

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

Returns:
the category value.