org.synchronoss.cpo.jdbc
Class JdbcCpoWhere
java.lang.Object
org.synchronoss.cpo.Node
org.synchronoss.cpo.jdbc.JdbcCpoWhere
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Node>, CpoWhere
public class JdbcCpoWhere
- extends Node
- implements CpoWhere
JdbcCpoWhere is an interface for specifying the sort order in which
objects are returned from the Datasource.
- See Also:
- Serialized Form
| Fields inherited from interface org.synchronoss.cpo.CpoWhere |
COMP_EQ, COMP_EXISTS, COMP_GT, COMP_GTEQ, COMP_IN, COMP_ISNULL, COMP_LIKE, COMP_LT, COMP_LTEQ, COMP_NEQ, COMP_NONE, LOGIC_AND, LOGIC_NONE, LOGIC_OR |
|
Constructor Summary |
JdbcCpoWhere()
|
JdbcCpoWhere(int logical,
java.lang.String attr,
int comp,
T value)
|
JdbcCpoWhere(int logical,
java.lang.String attr,
int comp,
T value,
boolean not)
|
| Methods inherited from class org.synchronoss.cpo.Node |
acceptBFVisitor, acceptDFVisitor, addChild, addChildSort, addChildSort, clone, compareTo, createNode, doCompare, equals, getAllowChildren, getChildCount, getChildList, getFirstChild, getNextSibling, getParentNode, getPrevSibling, hasParent, insertParentAfter, insertParentBefore, insertSiblingAfter, insertSiblingBefore, isLeaf, release, removeAll, removeChild, removeChildNode, setAllowChildren, setFirstChild, setNextSibling, setParent, setPrevSibling |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcCpoWhere
public JdbcCpoWhere(int logical,
java.lang.String attr,
int comp,
T value)
JdbcCpoWhere
public JdbcCpoWhere(int logical,
java.lang.String attr,
int comp,
T value,
boolean not)
JdbcCpoWhere
public JdbcCpoWhere()
setComparison
public void setComparison(int i)
- Specified by:
setComparison in interface CpoWhere
getComparison
public int getComparison()
- Specified by:
getComparison in interface CpoWhere
setLogical
public void setLogical(int i)
- Specified by:
setLogical in interface CpoWhere
getLogical
public int getLogical()
- Specified by:
getLogical in interface CpoWhere
setAttribute
public void setAttribute(java.lang.String s)
- Specified by:
setAttribute in interface CpoWhere
getAttribute
public java.lang.String getAttribute()
- Specified by:
getAttribute in interface CpoWhere
setRightAttribute
public void setRightAttribute(java.lang.String s)
- Specified by:
setRightAttribute in interface CpoWhere
getRightAttribute
public java.lang.String getRightAttribute()
- Specified by:
getRightAttribute in interface CpoWhere
setValue
public void setValue(java.lang.Object s)
- Specified by:
setValue in interface CpoWhere
getValue
public java.lang.Object getValue()
- Specified by:
getValue in interface CpoWhere
setStaticValue
public void setStaticValue(java.lang.String staticValue)
- Specified by:
setStaticValue in interface CpoWhere
getStaticValue
public java.lang.String getStaticValue()
- Specified by:
getStaticValue in interface CpoWhere
getNot
public boolean getNot()
- Specified by:
getNot in interface CpoWhere
setNot
public void setNot(boolean b)
- Specified by:
setNot in interface CpoWhere
toString
public java.lang.String toString(JdbcMetaClass<?> jmc)
throws CpoException
- Throws:
CpoException
addWhere
public void addWhere(CpoWhere cw)
throws CpoException
- Specified by:
addWhere in interface CpoWhere
- Throws:
CpoException
setAttributeFunction
public void setAttributeFunction(java.lang.String s)
- Specified by:
setAttributeFunction in interface CpoWhere
getAttributeFunction
public java.lang.String getAttributeFunction()
- Specified by:
getAttributeFunction in interface CpoWhere
setValueFunction
public void setValueFunction(java.lang.String s)
- Specified by:
setValueFunction in interface CpoWhere
getValueFunction
public java.lang.String getValueFunction()
- Specified by:
getValueFunction in interface CpoWhere
setRightAttributeFunction
public void setRightAttributeFunction(java.lang.String s)
- Specified by:
setRightAttributeFunction in interface CpoWhere
getRightAttributeFunction
public java.lang.String getRightAttributeFunction()
- Specified by:
getRightAttributeFunction in interface CpoWhere