public class Join extends Object implements Cloneable, JoinSyntaxes
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_CROSS |
static int |
TYPE_INNER |
static int |
TYPE_OUTER |
SYNTAX_DATABASE, SYNTAX_SQL92, SYNTAX_TRADITIONAL
Modifier and Type | Method and Description |
---|---|
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 |
isCorrelated() |
boolean |
isForeignKeyInversed() |
boolean |
isNotMyJoin() |
Join |
reverse()
Return a join that is this join in reverse.
|
void |
setCorrelated() |
void |
setIsNotMyJoin() |
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() |
public static final int TYPE_INNER
public static final int TYPE_OUTER
public static final int TYPE_CROSS
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 boolean isCorrelated()
public void setCorrelated()
public boolean isNotMyJoin()
public void setIsNotMyJoin()
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.