|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.sqlunit.beans.OutParam
public class OutParam
The OutParam models a SQLUnit outparam element.
| Constructor Summary | |
|---|---|
OutParam()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the outparams are equal. |
java.lang.String |
getId()
Returns the outparam id. |
java.lang.String |
getName()
Returns the outparam name. |
int |
getSQLType()
Convenience method to return the SQL (numeric) type from the supplied (String XML) type. |
java.lang.String |
getType()
Returns the outparam type. |
java.lang.String |
getValue()
Returns the outparam value as a String. |
int |
hashCode()
Returns a hashcode for the OutParam object. |
void |
setId(java.lang.String id)
Sets the outparam id. |
void |
setName(java.lang.String name)
Sets the outparam name. |
void |
setType(java.lang.String type)
Sets the outparam type. |
void |
setValue(ResultSetBean value)
Sets the outparam value from a ResultSetBean. |
void |
setValue(java.lang.String value)
Sets the param value from a String. |
void |
setValue(StructBean value)
Sets the outparam value from a StructBean. |
org.jdom.Element |
toElement()
Returns a JDOM Element representing this bean. |
java.lang.String |
toString()
Returns the string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OutParam()
| Method Detail |
|---|
public final java.lang.String getId()
public final void setId(java.lang.String id)
id - the param id.public final java.lang.String getName()
public final void setName(java.lang.String name)
name - the outparam name.public final java.lang.String getType()
public final int getSQLType()
throws SQLUnitException
SQLUnitException - if one is thrown.public final void setType(java.lang.String type)
type - the outparam type.public final java.lang.String getValue()
public final void setValue(java.lang.String value)
value - the param value.public final void setValue(ResultSetBean value)
value - a ResultSetBean object.public final void setValue(StructBean value)
value - a ResultSetBean object.public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the Object to compare against.
public final int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Objectpublic final org.jdom.Element toElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||