org.jtestcase.core.model
Class AssertParamGroupInstance

java.lang.Object
  extended by org.jtestcase.core.model.AssertParamGroupInstance
All Implemented Interfaces:
IUINode

public class AssertParamGroupInstance
extends java.lang.Object
implements IUINode

Represents an assert group from the JTestCaseWizard XML data.

Author:
Fausto Lelli $Id: AssertParamGroupInstance.java,v 1.1 2005/10/12 20:20:08 faustothegrey Exp $

Constructor Summary
AssertParamGroupInstance(java.lang.String name)
           
 
Method Summary
 void add(IUINode toAdd)
           
 void addAssertParamGroupNestedInstance(AssertParamGroupInstance assertGroupInstance)
          Adds a assert group instance to the list of nested assert group instances
 void addAssertParamInstance(AssertParamInstance assertInstance)
          Adds a assert instance to the list of nested assert instances
 java.util.List getAssertParamGroupInstances()
          Gets the list of nestd assert group instances
 java.util.List getAssertParamInstances()
          Gets the list of nested assert instanes
 java.lang.String getName()
          Gets the name of the assert group
 IUINode getNode()
           
 java.lang.String getNodeImage()
           
 java.lang.String getNodeLabel()
           
 java.util.List getNodes()
           
 java.lang.Object getUISupport()
           
 boolean isGUIsupported()
           
 void remove(IUINode toRemove)
           
 void setGUIsupported(boolean isGUIsupported)
           
 void setName(java.lang.String name)
          Sets the name of the assert group
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertParamGroupInstance

public AssertParamGroupInstance(java.lang.String name)
Method Detail

getUISupport

public java.lang.Object getUISupport()
Specified by:
getUISupport in interface IUINode

getName

public java.lang.String getName()
Gets the name of the assert group

Returns:
the name of the assert group

setName

public void setName(java.lang.String name)
Sets the name of the assert group

Parameters:
name - the name of the assert group

addAssertParamInstance

public void addAssertParamInstance(AssertParamInstance assertInstance)
Adds a assert instance to the list of nested assert instances

Parameters:
assertInstance - an assert instance

getAssertParamInstances

public java.util.List getAssertParamInstances()
Gets the list of nested assert instanes

Returns:
the list of nested assert instances

addAssertParamGroupNestedInstance

public void addAssertParamGroupNestedInstance(AssertParamGroupInstance assertGroupInstance)
Adds a assert group instance to the list of nested assert group instances

Parameters:
assertGroupInstance - an assert group instance

getAssertParamGroupInstances

public java.util.List getAssertParamGroupInstances()
Gets the list of nestd assert group instances

Returns:
the list of nested assert group instances

getNodeImage

public java.lang.String getNodeImage()
Specified by:
getNodeImage in interface IUINode

getNodeLabel

public java.lang.String getNodeLabel()
Specified by:
getNodeLabel in interface IUINode

add

public void add(IUINode toAdd)
Specified by:
add in interface IUINode

remove

public void remove(IUINode toRemove)
Specified by:
remove in interface IUINode

size

public int size()
Specified by:
size in interface IUINode

getNode

public IUINode getNode()
Specified by:
getNode in interface IUINode

getNodes

public java.util.List getNodes()
Specified by:
getNodes in interface IUINode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

isGUIsupported

public boolean isGUIsupported()
Specified by:
isGUIsupported in interface IUINode

setGUIsupported

public void setGUIsupported(boolean isGUIsupported)