|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Step
A step refers to a table in a search request. Several steps may refer to the same table, therefore each step has an unique alias to identify it.
This corresponds to a table name and alias in SQL SELECT-syntax.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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)int hashCode()
hashCode in class ObjectString toString()
getTableName()
getAlias()
getNodes()
toString in class Objectvoid setUnmodifiable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||