|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtestcase.core.model.ParamInstance
public class ParamInstance
Represents an param tag from the JTestCaseWizard XML.
| Constructor Summary | |
|---|---|
ParamInstance(java.lang.String content,
java.lang.String name,
java.lang.String type,
java.lang.String key_type,
java.lang.String value_type)
Standard constructor. |
|
| Method Summary | |
|---|---|
void |
addParam(ParamInstance nestedInstance)
Adds a nested param instance to the list of nested instances |
boolean |
equals(ParamInstance anotherParamInstance)
two paramInstances should be considered equal if their fields are equal name field is case sensitive type field is not case sensitive ( to review ) content field is case sensitive note: this function does NOT check for the nested param istances |
java.lang.String |
getContent()
Returns the content of the param or assert element |
java.lang.String |
getKey_type()
Returns the type of the keys for complex types in param or assert elements |
java.lang.String |
getName()
Returns the name of the param or assert |
java.util.List |
getNestedInstances()
Returns the list of nested instances in the param or assert |
java.lang.String |
getType()
Returns the type of the param or assert |
java.lang.String |
getValue_type()
Returns the type of the value for complex types in param or assert elements |
void |
setContent(java.lang.String content)
Sets the content of the param element |
void |
setName(java.lang.String name)
Sets the name of the param |
void |
setType(java.lang.String type)
Sets the type of the param |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParamInstance(java.lang.String content,
java.lang.String name,
java.lang.String type,
java.lang.String key_type,
java.lang.String value_type)
name - the name of the paramtype - the type of the paramcontent - the content of the param elementkey_type - the type of the keys for complex types in param elementsvalue_type - the type of the value for complex types in param elements| Method Detail |
|---|
public void setName(java.lang.String name)
name - the name of the parampublic void setType(java.lang.String type)
type - the type of the parampublic void setContent(java.lang.String content)
content - the content of the param elementpublic java.lang.String getKey_type()
AbstractType
getKey_type in interface AbstractTypeAbstractType.getKey_type()public java.lang.String getValue_type()
AbstractType
getValue_type in interface AbstractTypeAbstractType.getValue_type()public java.lang.String getName()
AbstractType
getName in interface AbstractTypeAbstractType.getName()public java.lang.String getType()
AbstractType
getType in interface AbstractTypeAbstractType.getType()public java.lang.String getContent()
AbstractType
getContent in interface AbstractTypeAbstractType.getContent()public void addParam(ParamInstance nestedInstance)
nestedInstance - an param instancepublic java.util.List getNestedInstances()
AbstractType
getNestedInstances in interface AbstractTypeAbstractType.getNestedInstances()public boolean equals(ParamInstance anotherParamInstance)
anotherParamInstance -
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||