|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.sqlunit.beans.Col
public class Col
Models a col element, representing a column in a database row.
Constructor Summary | |
---|---|
Col()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Returns a negative, zero or positive value depending on whether the contents of this column is less than, equal to or greater than the contents of the passed in Col object. |
boolean |
equals(java.lang.Object obj)
Returns a true or false based on whether the objects are equal. |
java.lang.String |
getClassName()
Returns the class name (for IJavaObject objects) for this column, |
java.lang.String |
getId()
Returns the Id for this column. |
java.lang.String |
getName()
Return the name for this column. |
java.lang.String |
getType()
Return the XML type for this column. |
java.lang.String |
getValue()
Returns the value of this column as a String. |
int |
hashCode()
Returns a hashcode for the Col object. |
void |
setClassName(java.lang.String className)
Set the class name (for IJavaObject objects) for this column, |
void |
setId(java.lang.String id)
Set the id for this column. |
void |
setName(java.lang.String name)
Set the name for this column, |
void |
setType(java.lang.String type)
Set the XML type for this column, |
void |
setValue(java.lang.String value)
Set the value of this column from a String. |
org.jdom.Element |
toElement()
Returns a JDOM element that represents this Col object. |
java.lang.String |
toString()
Returns a compact String representation of the Col object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Col()
Method Detail |
---|
public final java.lang.String getId()
public final void setId(java.lang.String id)
id
- the id for this column.public final java.lang.String getName()
public final void setName(java.lang.String name)
name
- the name for this column.public final java.lang.String getType()
public final void setType(java.lang.String type)
type
- the XML type for this column.public final java.lang.String getClassName()
public final void setClassName(java.lang.String className)
className
- the class name for this column.public final java.lang.String getValue()
public final void setValue(java.lang.String value)
value
- the value to set.public final int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- an instance of a Col object.
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the Object to compare against.
public final int hashCode()
hashCode
in class java.lang.Object
public final org.jdom.Element toElement()
public final java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |