public interface RelationStep extends Step
This corresponds to a constraint joining the three tables in SQL SELECT-syntax.
Note that tables can also be joined using FieldCompareConstraints.
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DIRECTIONALITY_DESCRIPTIONS
Directionality names corresponding to the direction values.
|
static int |
DIRECTIONS_ALL
Directionality following relations both ways, including unidirectional relations.
|
static int |
DIRECTIONS_BOTH
Directionality following relations both ways (source to destination AND destination to source).
|
static int |
DIRECTIONS_DESTINATION
Directionality following relations from source to destination.
|
static int |
DIRECTIONS_EITHER
Directionality following relations from destination to source.
|
static int |
DIRECTIONS_SOURCE
Directionality following relations from destination to source.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this relationstep to the specified object.
|
boolean |
getCheckedDirectionality()
Gets the value of the checkedDirectionality property.
|
int |
getDirectionality()
Gets the directionality mode used with this relation.
|
Step |
getNext()
Gets the next step.
|
Step |
getPrevious()
Gets the previous step.
|
Integer |
getRole()
Gets the role for this relation, if specified.
|
int |
hashCode() |
String |
toString()
Returns a string representation of this RelationStep.
|
addNode, getAlias, getNodes, getTableName, setUnmodifiablestatic final int DIRECTIONS_BOTH
static final int DIRECTIONS_DESTINATION
static final int DIRECTIONS_SOURCE
static final int DIRECTIONS_ALL
static final int DIRECTIONS_EITHER
static final String[] DIRECTIONALITY_DESCRIPTIONS
boolean getCheckedDirectionality()
DIRECTIONS_SOURCE or DIRECTIONS_BOTH.
When this value is true, only bi-directional relations are followed from destination to source. Otherwise unidirectional relations are followed from destination to source as well.
int getDirectionality()
Integer getRole()
RelDef node, or
null.Step getPrevious()
Step getNext()
boolean equals(Object obj)
true if and only if the argument is a non-null
RelationStep object with the same directionality and role,
associated with the same tablename,
using the same alias and including the same nodes.equals in interface Stepequals in class Objectobj - The object to compare with.true if the objects are equal,
false otherwise.Step.equals(java.lang.Object)int hashCode()
String toString()
getTableName()
getAlias()
getNodes()
getDirectionality()
getRole()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}