|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.core.data.DataFilterEntry
public class DataFilterEntry
A data filter entry belongs to a data filter.
Field Summary | |
---|---|
static java.lang.String |
_AND
|
static java.lang.String |
_OR
|
Constructor Summary | |
---|---|
DataFilterEntry()
|
|
DataFilterEntry(int module,
int field,
Operator operator,
java.lang.Object value)
Creates a filter entry. |
|
DataFilterEntry(java.lang.String andOr,
int module,
int field,
Operator operator,
java.lang.Object value)
Creates a filter entry. |
Method Summary | |
---|---|
java.lang.String |
getAndOr()
Indicates if the filter entry should be treated as an and or a or condition. |
int |
getField()
|
int |
getID()
The ID of the filter entry. |
int |
getModule()
|
Operator |
getOperator()
|
java.lang.Object |
getValue()
|
boolean |
isAnd()
Indicates if the filter entry should be treated as an and condition. |
boolean |
isOr()
Indicates if the filter entry should be treated as an or condition. |
void |
setAndOr(java.lang.String andOr)
Specifies if the entry should be treated as an and or an or condition. |
void |
setField(int field)
|
void |
setModule(int module)
|
void |
setOperator(Operator operator)
|
void |
setValue(java.lang.Object value)
|
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 java.lang.String _AND
public static final java.lang.String _OR
Constructor Detail |
---|
public DataFilterEntry()
public DataFilterEntry(int module, int field, Operator operator, java.lang.Object value)
module
- The module to which the specified field belongs.field
- The field to be checked on.operator
- The operator.value
- The value used to test against the input.public DataFilterEntry(java.lang.String andOr, int module, int field, Operator operator, java.lang.Object value)
andOr
- _AND
or _OR
module
- The module to which the specified field belongs.field
- The field to be checked on.operator
- The operator.value
- The value used to test against the input.Method Detail |
---|
public int getID()
public void setModule(int module)
public void setField(int field)
public void setOperator(Operator operator)
public void setAndOr(java.lang.String andOr)
andOr
- _AND
,
_OR
public java.lang.String getAndOr()
_AND
,
_OR
public boolean isOr()
public boolean isAnd()
public int getField()
public int getModule()
public Operator getOperator()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |