tigase.test.parser
Class TestNode

java.lang.Object
  extended by tigase.test.parser.TestNode

public class TestNode
extends Object

Describe class TestNode here. Created: Fri Jul 8 15:37:17 2005

Version:
$Rev: 223 $
Author:
Artur Hefczyc

Constructor Summary
TestNode()
          Creates a new TestNode instance.
 
Method Summary
 void addChild(TestNode child)
          Describe addChild method here.
 void addGlobalPars(Map<String,String> pars)
           
 void addGlobalVars(Map<String,String> vars)
           
 void addPar(String key, String val)
           
 void addPars(Map<String,String> pars)
           
 void addVar(String key, String val)
           
 void addVars(Map<String,String> vars)
           
 List<TestNode> getChildren()
          Get the Children value.
 String getId()
          Gets the value of id
 String getLongDescr()
          Gets the value of longDescr
 String getName()
          Gets the value of name
 Map<String,String> getNodePars()
           
 TestNode getOnError()
          Gets the value of onError
 TestNode getParent()
          Get the Parent value.
 Map<String,String> getPars()
           
 Map<String,String> getPurePars()
           
 String getShortDescr()
          Gets the value of shortDescr
 Map<String,String> getVars()
           
 void setChildren(List<TestNode> newChildren)
          Set the Children value.
 void setId(String argId)
          Sets the value of id
 void setLongDescr(String argLongDescr)
          Sets the value of longDescr
 void setName(String argName)
          Sets the value of name
 void setOnError(TestNode argOnError)
          Sets the value of onError
 void setParent(TestNode newParent)
          Set the Parent value.
 void setPars(Map<String,String> pars)
           
 void setShortDescr(String argShortDescr)
          Sets the value of shortDescr
 void setVars(Map<String,String> vars)
           
 String toString()
           
 String toString(String indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestNode

public TestNode()
Creates a new TestNode instance.

Method Detail

setVars

public void setVars(Map<String,String> vars)

addVars

public void addVars(Map<String,String> vars)

addVar

public void addVar(String key,
                   String val)

addGlobalVars

public void addGlobalVars(Map<String,String> vars)

getVars

public Map<String,String> getVars()

setPars

public void setPars(Map<String,String> pars)

addPars

public void addPars(Map<String,String> pars)

addPar

public void addPar(String key,
                   String val)

getNodePars

public Map<String,String> getNodePars()

addGlobalPars

public void addGlobalPars(Map<String,String> pars)

getPurePars

public Map<String,String> getPurePars()

getPars

public Map<String,String> getPars()

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

getChildren

public List<TestNode> getChildren()
Get the Children value.

Returns:
a List value

setChildren

public void setChildren(List<TestNode> newChildren)
Set the Children value.

Parameters:
newChildren - The new Children value.

addChild

public void addChild(TestNode child)
Describe addChild method here.

Parameters:
child - a TestNode value

getParent

public TestNode getParent()
Get the Parent value.

Returns:
a TestNode value

setParent

public void setParent(TestNode newParent)
Set the Parent value.

Parameters:
newParent - The new Parent value.

toString

public String toString(String indent)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2012 Tigase. All Rights Reserved.