|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.FromClause
This class represents a FROM SQL clause.
Supported API: true
Extendable: false
Field Summary | |
private String |
aliasPrefix
|
private static String |
CLASSNAME
|
private static String |
DEFAULT_ALIAS_PREFIX
Default prefix to use. |
static long |
EXTERNALIZATION_VERSION_UID
|
static int |
NULL_INDEX
Supported API: true |
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private Vector |
tables
|
Constructor Summary | |
FromClause()
|
Method Summary | |
void |
append(TableExpression a_tableExpression)
Appends the TableExpression Supported API: false |
Object |
clone()
Returns a deep copy of this object. |
String |
getAliasAt(int a_index)
Returns the specified alias. |
Vector |
getAliases()
Return a Vector of aliases for the tables in the FROM clause. |
String |
getAliasPrefix()
Gets the value of the attribute: aliasPrefix; Prefix string for generating alias names. |
static Vector |
getClassInfos(Vector a_tables)
Return a Vector of ClassInfos for the tables in the FROM clause. |
int |
getCount()
Gets the value of the attribute: count. |
int |
getPosition(Class a_class)
Returns the position of the specified class. |
Class |
getPrimaryClass()
Gets the value of the attribute: primaryClass. |
TableExpression |
getTableExpressionAt(int a_index)
Returns the specified TableExpression Supported API: false |
Vector |
getTableExpressions()
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(FromClause thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setAliasPrefix(String a_AliasPrefix)
Sets the value of the attribute: aliasPrefix; Prefix string for generating alias names. |
void |
setTableExpressionAt(TableExpression a_tableExpression,
int a_index)
Sets the specified TableExpression at the specified index. |
String |
toString()
Returns a string representation of this clause. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final int NULL_INDEX
private String aliasPrefix
private static final String DEFAULT_ALIAS_PREFIX
private Vector tables
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public FromClause()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(FromClause thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public Class getPrimaryClass()
public int getCount()
public String getAliasPrefix()
public void setAliasPrefix(String a_AliasPrefix) throws WTPropertyVetoException
a_AliasPrefix
-
WTPropertyVetoException
public void append(TableExpression a_tableExpression)
a_tableExpression
- Object to appendpublic TableExpression getTableExpressionAt(int a_index)
a_index
-
public String getAliasAt(int a_index)
a_index
-
public int getPosition(Class a_class)
a_class
-
public Vector getAliases()
public static Vector getClassInfos(Vector a_tables) throws QueryException
a_tables
-
QueryException
public void setTableExpressionAt(TableExpression a_tableExpression, int a_index)
a_tableExpression
- a_index
- public String toString()
public Object clone()
public Vector getTableExpressions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |