Package tigase.test.parser
Class TestNode
- java.lang.Object
-
- tigase.test.parser.TestNode
-
public class TestNode extends Object
Describe class TestNode here. Created: Fri Jul 8 15:37:17 2005- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
-
Constructor Summary
Constructors Constructor Description TestNode()Creates a newTestNodeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(TestNode child)DescribeaddChildmethod here.voidaddGlobalPars(Map<String,String> pars)voidaddGlobalVars(Map<String,String> vars)voidaddPar(String key, String val)voidaddPars(Map<String,String> pars)voidaddVar(String key, String val)voidaddVars(Map<String,String> vars)List<TestNode>getChildren()Get theChildrenvalue.StringgetId()Gets the value of idStringgetLongDescr()Gets the value of longDescrStringgetName()Gets the value of nameMap<String,String>getNodePars()TestNodegetOnError()Gets the value of onErrorTestNodegetParent()Get theParentvalue.Map<String,String>getPars()Map<String,String>getPurePars()StringgetShortDescr()Gets the value of shortDescrMap<String,String>getVars()voidsetChildren(List<TestNode> newChildren)Set theChildrenvalue.voidsetId(String argId)Sets the value of idvoidsetLongDescr(String argLongDescr)Sets the value of longDescrvoidsetName(String argName)Sets the value of namevoidsetOnError(TestNode argOnError)Sets the value of onErrorvoidsetParent(TestNode newParent)Set theParentvalue.voidsetPars(Map<String,String> pars)voidsetShortDescr(String argShortDescr)Sets the value of shortDescrvoidsetVars(Map<String,String> vars)StringtoString()StringtoString(String indent)
-
-
-
Method Detail
-
getOnError
public TestNode getOnError()
Gets the value of onError- Returns:
- the value of onError
-
setOnError
public void setOnError(TestNode argOnError)
Sets the value of onError- Parameters:
argOnError- Value to assign to this.onError
-
getName
public String getName()
Gets the value of name- Returns:
- the value of name
-
setName
public void setName(String argName)
Sets the value of name- Parameters:
argName- Value to assign to this.name
-
getId
public String getId()
Gets the value of id- Returns:
- the value of id
-
setId
public void setId(String argId)
Sets the value of id- Parameters:
argId- Value to assign to this.id
-
getShortDescr
public String getShortDescr()
Gets the value of shortDescr- Returns:
- the value of shortDescr
-
setShortDescr
public void setShortDescr(String argShortDescr)
Sets the value of shortDescr- Parameters:
argShortDescr- Value to assign to this.shortDescr
-
getLongDescr
public String getLongDescr()
Gets the value of longDescr- Returns:
- the value of longDescr
-
setLongDescr
public void setLongDescr(String argLongDescr)
Sets the value of longDescr- Parameters:
argLongDescr- Value to assign to this.longDescr
-
setChildren
public void setChildren(List<TestNode> newChildren)
Set theChildrenvalue.- Parameters:
newChildren- The new Children value.
-
addChild
public void addChild(TestNode child)
DescribeaddChildmethod here.- Parameters:
child- aTestNodevalue
-
getParent
public TestNode getParent()
Get theParentvalue.- Returns:
- a
TestNodevalue
-
setParent
public void setParent(TestNode newParent)
Set theParentvalue.- Parameters:
newParent- The new Parent value.
-
-