com.cysols.iodef.element
Class System

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

public class System
extends IElement

This class is value object which represents System element.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addCounterValue(String counter)
          Adds the specified counter value.
 void addService(Service ser)
          Adds the specified service element
 String[] getCounterValues()
          Returns the array of counter value.
 String getInterface()
          Returns the interface value.
 Node getNode()
          Returns the node element.
 OperatingSystem getOperatingSystem()
          Returns the OperatingSystem element.
 String getRestriction()
          Returns the restriction value.
 Service[] getServices()
          Returns the array of service value.
 String getSpoofed()
          Returns the spoofed value.
 String getSystemcat()
          Returns the systemcat value.
 void setInterface(String value)
          Sets the specified interface value.
 void setNode(Node node)
          Sets the specified node elment.
 void setOperatingSystem(OperatingSystem element)
          Sets the specified OperatingSystem elment.
 void setRestriction(String value)
          Sets the specified restriction value.
 void setSpoofed(String value)
          Sets the specified spoofed value.
 void setSystemcat(String value)
          Sets the specified systemcat 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

setNode

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

Parameters:
node - the the node element.

getNode

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

Returns:
the node elment.

setOperatingSystem

public void setOperatingSystem(OperatingSystem element)
Sets the specified OperatingSystem elment.

Parameters:
element - the the OperatingSystem element.

getOperatingSystem

public OperatingSystem getOperatingSystem()
Returns the OperatingSystem element. return null if it doesn't exist.

Returns:
the OperatingSystem elment.

addService

public void addService(Service ser)
Adds the specified service element

Parameters:
ser - the service element

getServices

public Service[] getServices()
Returns the array of service value. reutrns null if they doesn't exist.

Returns:
the array of service value

addCounterValue

public void addCounterValue(String counter)
Adds the specified counter value.

Parameters:
counter - the counter value

getCounterValues

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

Returns:
the array of counter value.

setSystemcat

public void setSystemcat(String value)
Sets the specified systemcat value.

Parameters:
value - the systemcat value

getSystemcat

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

Returns:
the systemcat value.

setSpoofed

public void setSpoofed(String value)
Sets the specified spoofed value.

Parameters:
value - the spoofed value

getSpoofed

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

Returns:
the spoofed value.

setInterface

public void setInterface(String value)
Sets the specified interface value.

Parameters:
value - the interface value

getInterface

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

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