|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.ReferenceJoinCondition
This class specifies a join in terms of a source and target class with
a reference property from the source class.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private JoinIndex |
joinIndex
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private String |
referencePropertyName
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private int |
sourceFromIndex
|
private boolean |
sourceOuterJoin
|
private int |
targetFromIndex
|
private boolean |
targetOuterJoin
|
Fields inherited from interface wt.pds.WhereCondition |
OUTER_JOIN_FROM_INDICIES |
Constructor Summary | |
ReferenceJoinCondition()
Supported API: false |
|
ReferenceJoinCondition(int a_sourceFromIndex,
int a_targetFromIndex,
String a_referencePropertyName)
Supported API: false |
Method Summary | |
WhereExpression |
getExpression(Vector a_tables)
Returns the condition expression based on the specified concreate classes. |
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. |
String |
getReferencePropertyName()
Gets the value of the attribute: referencePropertyName; Property name of the reference specifying the join Supported API: false |
int |
getSourceFromIndex()
Gets the value of the attribute: sourceFromIndex; From index of the source side of the join (i.e. |
int |
getTargetFromIndex()
Gets the value of the attribute: targetFromIndex; From index of the target side of the join Supported API: false |
boolean |
isSourceOuterJoin()
Gets the value of the attribute: sourceOuterJoin; Indicates if an outer join should be used on the source 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(ReferenceJoinCondition thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setReferencePropertyName(String a_ReferencePropertyName)
Sets the value of the attribute: referencePropertyName; Property name of the reference specifying the join Supported API: false |
void |
setSourceFromIndex(int a_SourceFromIndex)
Sets the value of the attribute: sourceFromIndex; From index of the source side of the join (i.e. |
void |
setSourceOuterJoin(boolean a_SourceOuterJoin)
Sets the value of the attribute: sourceOuterJoin; Indicates if an outer join should be used on the source class. |
void |
setTargetFromIndex(int a_TargetFromIndex)
Sets the value of the attribute: targetFromIndex; From index of the target side of the join 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 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 sourceFromIndex
private int targetFromIndex
private String referencePropertyName
private boolean sourceOuterJoin
private boolean targetOuterJoin
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private transient JoinIndex joinIndex
Constructor Detail |
public ReferenceJoinCondition()
public ReferenceJoinCondition(int a_sourceFromIndex, int a_targetFromIndex, String a_referencePropertyName)
a_sourceFromIndex
- From index of the source side of the join (i.e. the side containing the reference)a_targetFromIndex
- From index of the target side of the joina_referencePropertyName
- Property name of the reference specifying the joinMethod 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(ReferenceJoinCondition 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 getSourceFromIndex()
public void setSourceFromIndex(int a_SourceFromIndex)
a_SourceFromIndex
- public int getTargetFromIndex()
public void setTargetFromIndex(int a_TargetFromIndex)
a_TargetFromIndex
- public String getReferencePropertyName()
public void setReferencePropertyName(String a_ReferencePropertyName)
a_ReferencePropertyName
- public boolean isSourceOuterJoin()
public void setSourceOuterJoin(boolean a_SourceOuterJoin)
a_SourceOuterJoin
- public boolean isTargetOuterJoin()
public void setTargetOuterJoin(boolean a_TargetOuterJoin)
a_TargetOuterJoin
- public JoinIndex getJoinIndex(int a_tableTotalSize)
getJoinIndex
in interface JoinCondition
a_tableTotalSize
-
public int[] getOuterJoinFromIndicies()
getOuterJoinFromIndicies
in interface WhereCondition
public WhereExpression getExpression(Vector a_tables) throws WTException
getExpression
in interface WhereCondition
a_tables
-
WTException
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |