org.synchronoss.cpo
Interface CpoWhere
- All Known Implementing Classes:
- JdbcCpoWhere
public interface CpoWhere
CpoWhere is an interface for specifying the where clause to filter
objects that are returned from the Datasource.
- Author:
- david berry
COMP_NONE
static final int COMP_NONE
- See Also:
- Constant Field Values
COMP_EQ
static final int COMP_EQ
- See Also:
- Constant Field Values
COMP_LT
static final int COMP_LT
- See Also:
- Constant Field Values
COMP_GT
static final int COMP_GT
- See Also:
- Constant Field Values
COMP_NEQ
static final int COMP_NEQ
- See Also:
- Constant Field Values
COMP_IN
static final int COMP_IN
- See Also:
- Constant Field Values
COMP_LIKE
static final int COMP_LIKE
- See Also:
- Constant Field Values
COMP_LTEQ
static final int COMP_LTEQ
- See Also:
- Constant Field Values
COMP_GTEQ
static final int COMP_GTEQ
- See Also:
- Constant Field Values
COMP_EXISTS
static final int COMP_EXISTS
- See Also:
- Constant Field Values
COMP_ISNULL
static final int COMP_ISNULL
- See Also:
- Constant Field Values
LOGIC_NONE
static final int LOGIC_NONE
- See Also:
- Constant Field Values
LOGIC_AND
static final int LOGIC_AND
- See Also:
- Constant Field Values
LOGIC_OR
static final int LOGIC_OR
- See Also:
- Constant Field Values
setComparison
void setComparison(int comp)
getComparison
int getComparison()
setLogical
void setLogical(int log)
getLogical
int getLogical()
setAttribute
void setAttribute(java.lang.String attr)
getAttribute
java.lang.String getAttribute()
setRightAttribute
void setRightAttribute(java.lang.String attr)
getRightAttribute
java.lang.String getRightAttribute()
setValue
void setValue(java.lang.Object val)
getValue
java.lang.Object getValue()
getNot
boolean getNot()
setNot
void setNot(boolean b)
addWhere
void addWhere(CpoWhere cw)
throws CpoException
- Throws:
CpoException
setAttributeFunction
void setAttributeFunction(java.lang.String s)
getAttributeFunction
java.lang.String getAttributeFunction()
setValueFunction
void setValueFunction(java.lang.String s)
getValueFunction
java.lang.String getValueFunction()
setRightAttributeFunction
void setRightAttributeFunction(java.lang.String s)
getRightAttributeFunction
java.lang.String getRightAttributeFunction()
setStaticValue
void setStaticValue(java.lang.String staticValue)
getStaticValue
java.lang.String getStaticValue()
isLeaf
boolean isLeaf()
getName
java.lang.String getName()
- Gets a string representing the name of this instance of the
CpoOrderBy
- Returns:
- String The name of the CpoOrderBy
setName
void setName(java.lang.String s)
- Sets a string representing the name of this instance of the
CpoOrderBy
- Parameters:
s
- The name of the CpoOrderBy
Copyright © 2009. All Rights Reserved.