|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.edg.info.sqlutil.parsql.AliasedName
A name/alias association
Names can have two forms:
Field Summary | |
static int |
FORM_COLUMN
Indicates the name of a column. |
static int |
FORM_TABLE
Indicates the name of a table. |
Constructor Summary | |
AliasedName()
Creates a new AliasedName object. |
|
AliasedName(java.lang.String fullName,
int form)
Create a new AliasedName given it's full name. |
Method Summary | |
java.lang.String |
getAlias()
Returns the alias associated with the current name. |
java.lang.String |
getColumn()
Returns the column part of the name [[schema.]table.]column |
java.lang.String |
getSchema()
Returns the schema part of the name [[schema.]table.]column |
java.lang.String |
getTable()
Returns the table part of the name [[schema.]table.]column |
boolean |
isWildcard()
Determines if this name is a wild card. |
void |
setAlias(java.lang.String a)
Associate an alias with the current name. |
java.lang.String |
toString()
Returns a String representation of this name. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int FORM_TABLE
public static final int FORM_COLUMN
Constructor Detail |
public AliasedName()
public AliasedName(java.lang.String fullName, int form)
fullName
- The full name: [[schema.]table.]columnform
- The name form (FORM_TABLE or FORM_COLUMN)Method Detail |
public void setAlias(java.lang.String a)
a
- the alias associated to the current name.public java.lang.String getAlias()
public java.lang.String getColumn()
public java.lang.String getSchema()
public java.lang.String getTable()
public boolean isWildcard()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |