public abstract class SelectionCriteria
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
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
|
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()
toString
in class java.lang.Object
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 setpublic 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: allArticlesInGroupQueryTest.testInversePathExpression()
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30