org.synchronoss.cpo
Interface CpoWhere

Package class diagram package 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

Field Summary
static int COMP_EQ
           
static int COMP_EXISTS
           
static int COMP_GT
           
static int COMP_GTEQ
           
static int COMP_IN
           
static int COMP_ISNULL
           
static int COMP_LIKE
           
static int COMP_LT
           
static int COMP_LTEQ
           
static int COMP_NEQ
           
static int COMP_NONE
           
static int LOGIC_AND
           
static int LOGIC_NONE
           
static int LOGIC_OR
           
 
Method Summary
 void addWhere(CpoWhere cw)
           
 java.lang.String getAttribute()
           
 java.lang.String getAttributeFunction()
           
 int getComparison()
           
 int getLogical()
           
 java.lang.String getName()
          Gets a string representing the name of this instance of the CpoOrderBy
 boolean getNot()
           
 java.lang.String getRightAttribute()
           
 java.lang.String getRightAttributeFunction()
           
 java.lang.String getStaticValue()
           
 java.lang.Object getValue()
           
 java.lang.String getValueFunction()
           
 boolean isLeaf()
           
 void setAttribute(java.lang.String attr)
           
 void setAttributeFunction(java.lang.String s)
           
 void setComparison(int comp)
           
 void setLogical(int log)
           
 void setName(java.lang.String s)
          Sets a string representing the name of this instance of the CpoOrderBy
 void setNot(boolean b)
           
 void setRightAttribute(java.lang.String attr)
           
 void setRightAttributeFunction(java.lang.String s)
           
 void setStaticValue(java.lang.String staticValue)
           
 void setValue(java.lang.Object val)
           
 void setValueFunction(java.lang.String s)
           
 

Field Detail

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
Method Detail

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 © 2010. All Rights Reserved.