|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jso.query.Variable
Query variable. A variable is a named instance of a class in a query.
| Constructor Summary | |
Variable(java.lang.Class aClass)
Constructs the variable. |
|
Variable(java.lang.String aName,
java.lang.Class aClass)
Constructs the variable. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this variable. |
int |
compareTo(java.lang.Object o)
Compares the variable wiht anoter one. |
boolean |
equals(java.lang.Object o)
Indicates whether some other variable is "equal to" this one. |
java.lang.String |
getName()
Returns variable's name. |
java.lang.Class |
getVariableClass()
Returns variable's class. |
int |
hashCode()
Returns a hash code value for the variable. |
java.lang.String |
toString()
Returns a string representation of the variable. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Variable(java.lang.String aName,
java.lang.Class aClass)
aName - Variable's name.aClass - Variable's class.public Variable(java.lang.Class aClass)
aClass - Variable's class.| Method Detail |
public int hashCode()
public boolean equals(java.lang.Object o)
o - The object with which to compare.
true if the variable is the same as the OID argument;
false otherwise.public java.lang.String toString()
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - The object to be compared
public java.lang.Object clone()
public java.lang.Class getVariableClass()
public java.lang.String getName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||