public interface Step
This corresponds to a table name and alias in SQL SELECT-syntax.
| Modifier and Type | Method and Description |
|---|---|
Step |
addNode(int nodeNumber)
Adds node to nodes.
|
boolean |
equals(Object obj)
Compares this step to the specified object.
|
String |
getAlias()
Gets the alias associated with this step.
|
SortedSet<Integer> |
getNodes()
Gets nodenumbers for nodes that must be included in this step.
|
String |
getTableName()
Gets the name of the table referred to by this step.
|
int |
hashCode() |
void |
setUnmodifiable() |
String |
toString()
Returns a string representation of this Step.
|
String getTableName()
This corresponds to a table name in SQL SELECT-syntax.
String getAlias()
This corresponds to a table alias in SQL SELECT-syntax.
SortedSet<Integer> getNodes()
null value indicates that no such constraint is applied.
This corresponds to a "number IN (....)" constraint in SQL SELECT syntax.
Note that this can also be achieved by using a FieldValueInConstraint on the "number" field.
Step addNode(int nodeNumber)
nodeNumber - The nodenumber of the node.BasicStep instance.IllegalArgumentException - when an invalid argument is supplied.boolean equals(Object obj)
true if and only if the argument is a non-null
Step, but not RelationStep, object associated with the same tablename,
using the same alias and including the same nodes.equals in class Objectobj - The object to compare with.true if the objects are equal,
false otherwise.RelationStep.equals(java.lang.Object)String toString()
getTableName()
getAlias()
getNodes()
void setUnmodifiable()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}