|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.query.SelectValue
public class SelectValue
Represents an AbstractValue with an alias, suitable for use in the SELECT portion of an SQL query.
| Field Summary | |
|---|---|
protected java.lang.String |
alias
|
protected AbstractValue |
v
|
| Constructor Summary | |
|---|---|
SelectValue(AbstractValue v,
java.lang.String alias)
Construct a new SelectValue. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Overrides Object.equals(). |
java.lang.String |
getAlias()
Gets the alias from this object. |
java.lang.String |
getSQLString()
Returns a String representation of this Field object, suitable for forming part of an SQL SELECT list. |
AbstractValue |
getValue()
Gets the AbstractValue from this object. |
int |
hashCode()
Overrides Object.hashCode(). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AbstractValue v
protected java.lang.String alias
| Constructor Detail |
|---|
public SelectValue(AbstractValue v,
java.lang.String alias)
v - the AbstractValue that this SelectValue holdsalias - the alias that the value is renamed to| Method Detail |
|---|
public java.lang.String getSQLString()
getSQLString in interface SQLStringablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - an Object to compare to
public int hashCode()
hashCode in class java.lang.Objectpublic AbstractValue getValue()
public java.lang.String getAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||