|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.shark.api.client.wfmc.wapi.WMFilter
Field Summary | |
static int |
EQ
|
static int |
GE
|
static int |
GT
|
static int |
LE
|
static int |
LIKE
|
static int |
LT
|
static int |
NE
|
static int |
NO
|
static int |
SIMPLE_TYPE
|
static int |
SQL_TYPE
|
Constructor Summary | |
WMFilter()
|
|
WMFilter(int sqlType)
Construct a new filter based on an SQL query predicate. |
|
WMFilter(java.lang.String sqlString)
Construct a new filter based on an SQL query predicate. |
|
WMFilter(java.lang.String attributeName,
int comparison,
boolean attributeValue)
Construct a new filter based on the value of a single attribute. |
|
WMFilter(java.lang.String attributeName,
int comparison,
java.lang.Boolean attributeValue)
Construct a new filter based on the value of a single attribute. |
|
WMFilter(java.lang.String attributeName,
int comparison,
java.util.Date attributeValue)
Construct a new filter based on the value of a single attribute. |
|
WMFilter(java.lang.String attributeName,
int comparison,
double attributeValue)
Construct a new filter based on the value of a single attribute. |
|
WMFilter(java.lang.String attributeName,
int comparison,
java.lang.Double attributeValue)
Construct a new filter based on the value of a single attribute. |
|
WMFilter(java.lang.String attributeName,
int comparison,
int attributeValue)
Construct a new filter based on the value of a single attribute. |
|
WMFilter(java.lang.String attributeName,
int comparison,
java.lang.Integer attributeValue)
Construct a new filter based on the value of a single attribute. |
|
WMFilter(java.lang.String attributeName,
int comparison,
java.lang.String attributeValue)
Construct a new filter based on the value of a single attribute. |
Method Summary | |
java.lang.String |
getAttributeName()
|
int |
getAttributeType()
|
java.lang.String |
getBshExpression()
|
int |
getComparison()
|
java.lang.String |
getFilterString()
|
int |
getFilterType()
|
java.lang.Object |
getFilterValue()
|
int |
getLimit()
|
java.lang.String |
getOrderBy()
|
java.lang.String[] |
getPropertiesUsed()
|
boolean |
getSqlWhereComplete()
|
java.lang.String |
getSQLWhereExpression()
|
int |
getStartPosition()
|
boolean |
isSqlWhereComplete()
|
void |
setAttributeName(java.lang.String an)
|
void |
setAttributeType(int at)
|
void |
setBshExpression(java.lang.String bshExp)
|
void |
setComparison(int c)
|
void |
setFilterString(java.lang.String value)
|
void |
setFilterType(int type)
|
void |
setFilterValue(java.lang.Object fv)
|
void |
setLimit(int limit)
|
void |
setOrderBy(java.lang.String ob)
|
void |
setPropertiesUsed(java.lang.String[] props)
|
void |
setSqlWhereComplete(boolean sqlComplete)
|
void |
setSQLWhereExpression(java.lang.String sqlExp)
|
void |
setStartPosition(int startAt)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SIMPLE_TYPE
public static final int SQL_TYPE
public static final int NO
public static final int LT
public static final int LE
public static final int EQ
public static final int NE
public static final int GE
public static final int GT
public static final int LIKE
Constructor Detail |
public WMFilter(java.lang.String attributeName, int comparison, java.lang.Boolean attributeValue)
WMAttribute.BOOLEAN_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, either EQ
or NE
.attributeValue
- The boolean value to test.public WMFilter(java.lang.String attributeName, int comparison, boolean attributeValue)
WMAttribute.BOOLEAN_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, either EQ
or NE
.attributeValue
- The boolean value to test.public WMFilter(java.lang.String attributeName, int comparison, java.util.Date attributeValue)
WMAttribute.DATETIME_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, one of: LT
, LE
,
EQ
, NE
, GE
, GT
.attributeValue
- The date value to test.public WMFilter(java.lang.String attributeName, int comparison, java.lang.Double attributeValue)
WMAttribute.FLOAT_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, one of: LT
, LE
,
EQ
, NE
, GE
, GT
.attributeValue
- The floating point value to test.public WMFilter(java.lang.String attributeName, int comparison, double attributeValue)
WMAttribute.FLOAT_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, one of: LT
, LE
,
EQ
, NE
, GE
, GT
.attributeValue
- The floating point value to test.public WMFilter(java.lang.String attributeName, int comparison, java.lang.Integer attributeValue)
WMAttribute.INTEGER_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, one of: LT
, LE
,
EQ
, NE
, GE
, GT
.attributeValue
- The integer value to test.public WMFilter(java.lang.String attributeName, int comparison, int attributeValue)
WMAttribute.INTEGER_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, one of: LT
, LE
,
EQ
, NE
, GE
, GT
.attributeValue
- The integer value to test.public WMFilter(java.lang.String attributeName, int comparison, java.lang.String attributeValue)
WMAttribute.STRING_TYPE
or WMAttribute.PERFORMER_TYPE
.
attributeName
- The name of the attribute to test.comparison
- The comparison to use, one of: LT
, LE
,
EQ
, NE
, GE
, GT
.attributeValue
- The string value to test.public WMFilter(java.lang.String sqlString)
sqlString
- A standard SQL-92 WHERE clause predicate. Joins are not supported.public WMFilter(int sqlType)
sqlType
- A standard SQL-92 WHERE clause predicate. Joins are not supported.public WMFilter()
Method Detail |
public java.lang.String getAttributeName()
public void setAttributeName(java.lang.String an)
public int getAttributeType()
public void setAttributeType(int at)
public int getComparison()
public void setComparison(int c)
public java.lang.String getFilterString()
public void setFilterString(java.lang.String value)
public int getFilterType()
public void setFilterType(int type)
public java.lang.Object getFilterValue()
public void setFilterValue(java.lang.Object fv)
public java.lang.String getSQLWhereExpression()
public void setSQLWhereExpression(java.lang.String sqlExp)
public void setBshExpression(java.lang.String bshExp)
public java.lang.String getBshExpression()
public java.lang.String[] getPropertiesUsed()
public void setPropertiesUsed(java.lang.String[] props)
public boolean isSqlWhereComplete()
public boolean getSqlWhereComplete()
public void setSqlWhereComplete(boolean sqlComplete)
public void setOrderBy(java.lang.String ob)
public java.lang.String getOrderBy()
public int getStartPosition()
public void setStartPosition(int startAt)
public int getLimit()
public void setLimit(int limit)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |