|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.LinkJoinCondition
wt.pds.ClassJoinCondition
This class represents a JoinCondition from a class.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static boolean |
DEBUG
|
static long |
EXTERNALIZATION_VERSION_UID
|
private JoinIndex |
joinIndex
|
private boolean |
linkOuterJoin
|
private static DebugWriter |
LOG
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private int |
targetFromIndex
|
private boolean |
targetOuterJoin
|
Fields inherited from class wt.pds.LinkJoinCondition |
linkClass, linkInfo, REF_OBJECT_ID, REF_VERSION_ID, referenceName, referenceType |
Fields inherited from interface wt.pds.WhereCondition |
OUTER_JOIN_FROM_INDICIES |
Constructor Summary | |
ClassJoinCondition()
Supported API: false |
|
ClassJoinCondition(int a_linkFromIndex,
String a_role,
int a_targetFromIndex)
Supported API: false |
Method Summary | |
WhereExpression |
getExpression(Vector a_tables)
Returns the condition expression for this join. |
JoinIndex |
getJoinIndex(int a_tableTotalSize)
Supported API: false |
int[] |
getOuterJoinFromIndicies()
Gets the value of the attribute: outerJoinFromIndicies; The index values in the From clause for any classes that use an outer join in this condition. |
int |
getTargetFromIndex()
Gets the value of the attribute: targetFromIndex; From index of the target class Supported API: false |
boolean |
isLinkOuterJoin()
Gets the value of the attribute: linkOuterJoin; Indicates if an outer join should be used on the link class. |
boolean |
isTargetOuterJoin()
Gets the value of the attribute: targetOuterJoin; Indicates if an outer join should be used on the target class. |
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(ClassJoinCondition thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setLinkOuterJoin(boolean a_LinkOuterJoin)
Sets the value of the attribute: linkOuterJoin; Indicates if an outer join should be used on the link class. |
void |
setTargetFromIndex(int a_TargetFromIndex)
Sets the value of the attribute: targetFromIndex; From index of the target class Supported API: false |
void |
setTargetOuterJoin(boolean a_TargetOuterJoin)
Sets the value of the attribute: targetOuterJoin; Indicates if an outer join should be used on the target class. |
String |
toString()
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.pds.LinkJoinCondition |
buildReference, getLinkFromIndex, getReferenceName, getRole, getValidClass, readVersion, setFixedLinkClass, setLinkFromIndex, setRole |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private int targetFromIndex
private boolean linkOuterJoin
private boolean targetOuterJoin
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final boolean DEBUG
private static final DebugWriter LOG
private transient JoinIndex joinIndex
Constructor Detail |
public ClassJoinCondition()
public ClassJoinCondition(int a_linkFromIndex, String a_role, int a_targetFromIndex)
a_linkFromIndex
- a_role
- a_targetFromIndex
- Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class LinkJoinCondition
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class LinkJoinCondition
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ClassJoinCondition 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 int getTargetFromIndex()
public void setTargetFromIndex(int a_TargetFromIndex)
a_TargetFromIndex
- public boolean isLinkOuterJoin()
public void setLinkOuterJoin(boolean a_LinkOuterJoin)
a_LinkOuterJoin
- public boolean isTargetOuterJoin()
public void setTargetOuterJoin(boolean a_TargetOuterJoin)
a_TargetOuterJoin
- public int[] getOuterJoinFromIndicies()
getOuterJoinFromIndicies
in interface WhereCondition
getOuterJoinFromIndicies
in class LinkJoinCondition
public WhereExpression getExpression(Vector a_tables) throws WTException
getExpression
in interface WhereCondition
getExpression
in class LinkJoinCondition
a_tables
-
WTException
public JoinIndex getJoinIndex(int a_tableTotalSize)
getJoinIndex
in interface JoinCondition
getJoinIndex
in class LinkJoinCondition
a_tableTotalSize
-
public String toString()
toString
in class LinkJoinCondition
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |