com.cysols.iodef.element
Class EventData

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

public class EventData
extends IElement

This class is value object which represents Process element. +

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addAdditionalData(AdditionalData data)
          Adds the specified additional data element.
 void addAdditionalDataValue(String data)
          Adds the specified value to AdditionalData.
 void addContanct(Contact con)
          Adds the specified contact element.
 void addDescriptionValue(String descr)
          Adds the specified desciption value.
 void addEventData(EventData event)
          Adds the specified event data element.
 void addFlow(Flow flow)
          Adds the specified flow element.
 void addMethod(Method me)
          Adds the specified method element.
 void addSystem(System system)
          Adds the specified System element.
 AdditionalData[] getAdditionalDatas()
          Returns the array of additional data element.
 String[] getAdditionalDataValues()
          Returns the array of additional data value.
 Assessment getAssessment()
          Returns the assessment element.
 Contact[] getContacts()
          Returns the array of Contact value.
 String[] getDescriptionValues()
          Returns the array of description value.
 String getDetectTimeValue()
          Returns the detect time value.
 String getEndTimeValue()
          Returns the end time value.
 EventData[] getEventDatas()
          Returns the array of event data value.
 Flow[] getFlows()
          Returns the array of Flow value.
 Method[] getMethods()
          Returns the array of Method value.
 Record getRecord()
          Returns the record element.
 String getRestriction()
          Returns the restriction value.
 String getStartTimeValue()
          Returns the start time value.
 System[] getSystems()
          Returns the array of System element.
 void setAssessment(Assessment ass)
          Sets the specified assessment elment.
 void setDetectTimeValue(String time)
          Sets the detect time value.
 void setEndTimeValue(String time)
          Sets the end time value.
 void setRecord(Record record)
          Sets the specified record elment.
 void setRestriction(String value)
          Sets the specified restriction value.
 void setStartTimeValue(String time)
          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 - the 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.

setDetectTimeValue

public void setDetectTimeValue(String time)
Sets the detect time value.

Parameters:
time - the detect time value

getDetectTimeValue

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

Returns:
detect time value

setStartTimeValue

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

Parameters:
time - the 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 time)
Sets the end time value.

Parameters:
time - the end time value

getEndTimeValue

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

Returns:
end time value

addContanct

public void addContanct(Contact con)
Adds the specified contact element.

Parameters:
con - the contact element

getContacts

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

Returns:
the array of contact value

setAssessment

public void setAssessment(Assessment ass)
Sets the specified assessment elment.

Parameters:
ass - the assessment element.

getAssessment

public Assessment getAssessment()
Returns the assessment element. return null if it doesn't exist.

Returns:
the assessment elment.

addMethod

public void addMethod(Method me)
Adds the specified method element.

Parameters:
me - the method element

getMethods

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

Returns:
the array of mehod value

getFlows

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

Returns:
the array of flow value

addFlow

public void addFlow(Flow flow)
Adds the specified flow element.

Parameters:
flow - the flow element

addEventData

public void addEventData(EventData event)
Adds the specified event data element.

Parameters:
event - the event data element

getEventDatas

public EventData[] getEventDatas()
Returns the array of event data value. reutrns null if it doesn't exist.

Returns:
the array of event data value

getRecord

public Record getRecord()
Returns the record element. return null if it doesn't exist.

Returns:
the record elment.

setRecord

public void setRecord(Record record)
Sets the specified record elment.

Parameters:
record - the record element.

addAdditionalDataValue

public void addAdditionalDataValue(String data)
Adds the specified value to AdditionalData.

Parameters:
data - the additional data

getAdditionalDataValues

public String[] getAdditionalDataValues()
Returns the array of additional data value. reutrns null if it doesn't exist.

Returns:
the array of additional data value

addAdditionalData

public void addAdditionalData(AdditionalData data)
Adds the specified additional data element.

Parameters:
data - the additional data element

getAdditionalDatas

public AdditionalData[] getAdditionalDatas()
Returns the array of additional data element. reutrns null if they doesn't exist.

Returns:
the array of additional data element

addSystem

public void addSystem(System system)
Adds the specified System element.

Parameters:
system - the System element

getSystems

public System[] getSystems()
Returns the array of System element. reutrns null if they doesn't exist.

Returns:
the array of System 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.