com.cysols.iodef.rid.element
Class RIDPolicy

java.lang.Object
  extended by com.cysols.iodef.IElement
      extended by com.cysols.iodef.rid.element.RIDPolicy

public class RIDPolicy
extends IElement

This class represents to RIDPolicy element.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addPolicyRegionValue(String value)
          Adds the specified value with the value of PolicyRegion node.
 void addTrafficTypeValue(String value)
          Adds the specified value with the value of TrafficType node.
 String getDtype()
          Returns the type value.
 String getIncidentIDIssuer()
          Returns the Issuer attribute value of incident id node.
 String getIncidentIDValue()
          Returns the incident id value.
 String getMsgDestinationValue()
          Returns the value of MsgDestination node, reutrns null if it doesn't exist.
 String getMsgTypeValue()
          Returns the value of MsgType node, reutrns null if it doesn't exist.
 Node getNode()
          Returns the node element.
 String[] getPolicyRegionValues()
          Returns the array of PolicyRegion value.
 String[] getTrafficTypeValues()
          Returns the array of TrafficType value.
 void setDtype(String dtype)
          Sets the specified type value.
 void setIncidentIDValue(String value, String issuer)
          Sets the incident id value.
 void setIncidentIDValue(String value, String issuer, String rest)
          Sets the incident id values.
 void setMsgDestinationValue(String value)
          Sets the value of MsgDestination node.
 void setMsgTypeValue(String value)
          Sets the value of MsgType node.
 void setNode(Node node)
          Sets the specified node elment.
 
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

setMsgTypeValue

public void setMsgTypeValue(String value)
Sets the value of MsgType node.

Parameters:
value - - the value of MsgType node.

getMsgTypeValue

public String getMsgTypeValue()
Returns the value of MsgType node, reutrns null if it doesn't exist.

Returns:
the value of MsgType node.

setMsgDestinationValue

public void setMsgDestinationValue(String value)
Sets the value of MsgDestination node.

Parameters:
value - - the value of MsgDestination node.

getMsgDestinationValue

public String getMsgDestinationValue()
Returns the value of MsgDestination node, reutrns null if it doesn't exist.

Returns:
the value of MsgDestination node.

setNode

public void setNode(Node node)
Sets the specified node elment.

Parameters:
node - - the node element.

getNode

public Node getNode()
Returns the node element. return null if it doesn't exist.

Returns:
the node elment.

addPolicyRegionValue

public void addPolicyRegionValue(String value)
Adds the specified value with the value of PolicyRegion node.

Parameters:
value - the value of PolicyRegion node.

getPolicyRegionValues

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

Returns:
the array of PolicyRegion value.

addTrafficTypeValue

public void addTrafficTypeValue(String value)
Adds the specified value with the value of TrafficType node.

Parameters:
value - the value of TrafficType node.

getTrafficTypeValues

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

Returns:
the array of TrafficType value.

setIncidentIDValue

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

Parameters:
value - - incident id value
issuer - - the Issuer attribute value.

setIncidentIDValue

public void setIncidentIDValue(String value,
                               String issuer,
                               String rest)
Sets the incident id values.

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

getIncidentIDIssuer

public String getIncidentIDIssuer()
Returns the Issuer attribute value of incident id node. reutrns null if it doesn't exist.

Returns:
incident id value

setDtype

public void setDtype(String dtype)
Sets the specified type value.

Parameters:
dtype - the type value

getDtype

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

Returns:
the type value.