|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.storage.search.implementation.BasicStep
Basic implementation. The step alias is not set on default.
| Method Summary | |
BasicStep |
addNode(int nodeNumber)
Adds node to nodes. |
boolean |
equals(java.lang.Object obj)
Compares this step to the specified object. |
java.lang.String |
getAlias()
Gets the alias associated with this step. |
MMObjectBuilder |
getBuilder()
Gets the associated builder. |
java.util.SortedSet |
getNodes()
Gets nodenumbers for nodes that must be included in this step. |
java.lang.String |
getTableName()
Gets the name of the table referred to by this step. |
int |
hashCode()
|
BasicStep |
setAlias(java.lang.String alias)
Sets alias property. |
java.lang.String |
toString()
Returns a string representation of this Step. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public BasicStep setAlias(java.lang.String alias)
alias - The alias property.
BasicStep instance.
java.lang.IllegalArgumentException - when an invalid argument is supplied.public BasicStep addNode(int nodeNumber)
nodeNumber - The nodenumber of the node.
BasicStep instance.
java.lang.IllegalArgumentException - when an invalid argument is supplied.public MMObjectBuilder getBuilder()
public java.lang.String getTableName()
StepThis corresponds to a table name in SQL SELECT-syntax.
getTableName in interface Steppublic java.lang.String getAlias()
StepThis corresponds to a table alias in SQL SELECT-syntax.
getAlias in interface Steppublic java.util.SortedSet getNodes()
StepThis 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.
getNodes in interface Steppublic boolean equals(java.lang.Object obj)
Steptrue 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 interface Steppublic int hashCode()
hashCode in interface Steppublic java.lang.String toString()
StepgetTableName()
getAlias()
getNodes()
toString in interface Step
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||