|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.query.AbstractTable
public abstract class AbstractTable
An abstract representation of an item that can be present in the FROM section of an SQL query.
| Field Summary | |
|---|---|
protected java.lang.String |
alias
|
| Constructor Summary | |
|---|---|
AbstractTable()
|
|
| Method Summary | |
|---|---|
abstract boolean |
equals(java.lang.Object obj)
Overrides Object.equals(). |
abstract boolean |
equalsIgnoreAlias(AbstractTable obj)
Compare this AbstractTable to another, ignoring little details like aliases. |
boolean |
equalsOnlyAlias(AbstractTable obj)
Compare this AbstractTable to another, only comparing the alias. |
java.lang.String |
getAlias()
Returns the alias for this AbstractTable object. |
abstract java.lang.String |
getSQLString()
Returns a String representation of this AbstractTable object, suitable for forming part of an SQL query. |
abstract int |
hashCode()
Overrides Object.hashcode(). |
void |
setAlias(java.lang.String alias)
Sets the alias for this AbstractTable object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String alias
| Constructor Detail |
|---|
public AbstractTable()
| Method Detail |
|---|
public java.lang.String getAlias()
public void setAlias(java.lang.String alias)
alias - the alias of this "table"public abstract java.lang.String getSQLString()
getSQLString in interface SQLStringablepublic abstract boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - an Object to compare to
public abstract int hashCode()
hashCode in class java.lang.Objectpublic abstract boolean equalsIgnoreAlias(AbstractTable obj)
obj - an AbstractTable to compare to
public boolean equalsOnlyAlias(AbstractTable obj)
obj - an AbstractTable to compare to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||