com.cysols.iodef.element
Class Address

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

public class Address
extends IElement

This class is value object which represents Address element.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 String getAddrcat()
          Returns the category value.
 String getVlanName()
          Returns the vlan name value.
 String getVlanNum()
          Returns the vlan number value.
 void setAddrcat(String category)
          Sets the specified address category.
 void setVlanName(String vlanname)
          Sets the specified vlan name value.
 void setVlanNum(String vlannum)
          Sets the specified vlan number 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

setAddrcat

public void setAddrcat(String category)
Sets the specified address category.

Parameters:
category - the address category

getAddrcat

public String getAddrcat()
Returns the category value. reutrns defautl value as "ipv4-addr" if it doesn't exist.

Returns:
the category value.

setVlanName

public void setVlanName(String vlanname)
Sets the specified vlan name value.

Parameters:
vlanname - the vlan name

getVlanName

public String getVlanName()
Returns the vlan name value. reutrns null if it doesn't exist.

Returns:
the vlan name value.

setVlanNum

public void setVlanNum(String vlannum)
Sets the specified vlan number value.

Parameters:
vlannum - the vlan number

getVlanNum

public String getVlanNum()
Returns the vlan number value. reutrns null if it doesn't exist.

Returns:
the vlan number value.