com.cysols.iodef.element
Class Method

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

public class Method
extends IElement

This class is value object as Method element.

Author:
cysol

Field Summary
 
Fields inherited from class com.cysols.iodef.IElement
attributeList, elementcreator, elementsMap, myName
 
Method Summary
 void addClassification(Classification cla)
          Adds the specified Classification element
 void addDescriptionValue(String descr)
          Adds the specified desciption value.
 Classification[] getClassifications()
          Returns the array of Classification value.
 String[] getDescriptionValues()
          Returns the array of description value.
 String getRestriction()
          Returns the restriction value.
 void setRestriction(String value)
          Sets the specified restriction 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

addClassification

public void addClassification(Classification cla)
Adds the specified Classification element

Parameters:
cla - - Classification element

getClassifications

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

Returns:
the array of Classification value

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.

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.