|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.query.SelectionCriteria
abstract baseclass of all criteria classes, can't be instantiated. This code is based on stuff from COBRA - Java Object Persistence Layer Copyright (C) 1997, 1998 DB Harvey-George eMail: cobra@lowrent.org
| Method Summary | |
void |
bind(java.lang.Object newValue)
sets the value of the criteria to newValue. |
java.lang.String |
getAlias()
|
java.lang.Object |
getAttribute()
Answer the attribute |
java.util.List |
getClassesForPath(java.lang.String aPath)
Get the a List of Class objects used as hints for a path |
abstract java.lang.String |
getClause()
Answer the SQL compare-clause for this criteria |
Criteria |
getCriteria()
|
int |
getNumberOfExtentsToBind()
Returns the numberOfExtentsToBind. |
java.util.Map |
getPathClasses()
Gets the pathClasses from the parent Criteria. |
QueryByCriteria |
getQuery()
|
UserAlias |
getUserAlias()
|
java.lang.Object |
getValue()
Answer the value |
boolean |
isBound()
BRJ : Used by the ODMG OQLQuery.bind() operation |
boolean |
isTranslateAttribute()
|
void |
setAlias(java.lang.String alias)
Sets the alias. |
void |
setAlias(java.lang.String alias,
java.lang.String aliasPath)
Sets the alias. |
void |
setAlias(UserAlias userAlias)
Sets the alias using a userAlias object. |
void |
setNumberOfExtentsToBind(int numberOfExtentsToBind)
Sets the numberOfExtentsToBind. |
java.lang.String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public abstract java.lang.String getClause()
public void bind(java.lang.Object newValue)
public java.lang.Object getValue()
public java.lang.Object getAttribute()
public java.lang.String toString()
public boolean isBound()
public int getNumberOfExtentsToBind()
public void setNumberOfExtentsToBind(int numberOfExtentsToBind)
numberOfExtentsToBind - The numberOfExtentsToBind to setpublic java.lang.String getAlias()
public void setAlias(java.lang.String alias)
alias - The name of the alias to set
public void setAlias(java.lang.String alias,
java.lang.String aliasPath)
alias - The alias to setpublic void setAlias(UserAlias userAlias)
userAlias - The alias to setpublic UserAlias getUserAlias()
public boolean isTranslateAttribute()
public Criteria getCriteria()
public QueryByCriteria getQuery()
public java.util.Map getPathClasses()
public java.util.List getClassesForPath(java.lang.String aPath)
aPath - the path segment ie: allArticlesInGroup
QueryTest.testInversePathExpression()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||