|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.sql.Join
public class Join
Represents a SQL join.
Field Summary | |
---|---|
static int |
TYPE_CROSS
|
static int |
TYPE_INNER
|
static int |
TYPE_OUTER
|
Fields inherited from interface org.apache.openjpa.jdbc.sql.JoinSyntaxes |
---|
SYNTAX_DATABASE, SYNTAX_SQL92, SYNTAX_TRADITIONAL |
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object other)
|
String |
getAlias1()
|
String |
getAlias2()
|
ForeignKey |
getForeignKey()
|
Joins |
getRelationJoins()
If joining a relation, the joins leading to the relation. |
ClassMapping |
getRelationTarget()
If joining a relation, the target type. |
int |
getSubclasses()
If joining a relation, how to deal with subclasses. |
Table |
getTable1()
|
Table |
getTable2()
|
int |
getType()
|
int |
hashCode()
|
boolean |
isForeignKeyInversed()
|
Join |
reverse()
Return a join that is this join in reverse. |
void |
setRelation(ClassMapping target,
int subs,
Joins joins)
When joining a relation, set target type and how to deal with subclasses. |
void |
setType(int type)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_INNER
public static final int TYPE_OUTER
public static final int TYPE_CROSS
Method Detail |
---|
public int getType()
public void setType(int type)
public String getAlias1()
public String getAlias2()
public Table getTable1()
public Table getTable2()
public ForeignKey getForeignKey()
public boolean isForeignKeyInversed()
public ClassMapping getRelationTarget()
public int getSubclasses()
Select
.
public Joins getRelationJoins()
public void setRelation(ClassMapping target, int subs, Joins joins)
#Select
.
public Join reverse()
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public String toString()
toString
in class Object
public Object clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |