|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wfmc.wapi.WMFilter
Field Summary | |
static int |
EQ
|
static int |
GE
|
static int |
GT
|
static int |
LE
|
static int |
LT
|
static int |
NE
|
static int |
NO
|
static int |
SIMPLE_TYPE
|
static int |
SQL_TYPE
|
Constructor Summary | |
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()
|
int |
getComparison()
|
java.lang.String |
getFilterString()
|
int |
getFilterType()
|
java.lang.Object |
getFilterValue()
|
java.lang.String |
getSQLComparison()
|
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
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.Method Detail |
public java.lang.String getAttributeName()
public int getAttributeType()
public int getComparison()
public java.lang.String getFilterString()
public int getFilterType()
public java.lang.Object getFilterValue()
public java.lang.String getSQLComparison()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |