|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.storage.search.implementation.BasicStepField
Basic implementation. The field alias is not set on default.
| Constructor Summary | |
BasicStepField(Step step,
FieldDefs fieldDefs)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this stepfield to the specified object. |
java.lang.String |
getAlias()
Gets the alias for the associated field. |
FieldDefs |
getFieldDefs()
Gets the associated fieldDefs. |
java.lang.String |
getFieldName()
Gets the name of the associated field (without prefix). |
Step |
getStep()
Gets the step associated with this fieldstep. |
int |
getType()
Gets the type of the associated field. |
int |
hashCode()
|
BasicStepField |
setAlias(java.lang.String alias)
Sets alias property. |
java.lang.String |
toString()
Returns a string representation of this StepField. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BasicStepField(Step step,
FieldDefs fieldDefs)
step - The associated step.fieldDefs - The associated fieldDefs.
java.lang.IllegalArgumentException - when an invalid argument is supplied.| Method Detail |
public BasicStepField setAlias(java.lang.String alias)
alias - The alias property.
BasicStepField instance.
java.lang.IllegalArgumentException - when an invalid argument is supplied.public FieldDefs getFieldDefs()
public java.lang.String getFieldName()
StepFieldThis corresponds to the fieldname in SQL SELECT-syntax.
getFieldName in interface StepFieldpublic java.lang.String getAlias()
StepFieldThis corresponds to the field alias in SQL SELECT-syntax.
getAlias in interface StepFieldpublic Step getStep()
StepField
getStep in interface StepFieldpublic int getType()
StepFieldFieldDefs.
getType in interface StepFieldpublic boolean equals(java.lang.Object obj)
StepFieldtrue if and only if the argument is a non-null
StepField object associated with the same field, using the same alias.
equals in interface StepFieldpublic int hashCode()
hashCode in interface StepFieldpublic java.lang.String toString()
StepFieldgetStep().getAlias() or,
when the step alias is null, the step tablename
returned by getStep().getTableName().
getFieldName()
getAlias()
toString in interface StepField
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||