|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.sf.mpxj.Filter
public class Filter
This class represents a filter which may be applied to a task or resource view.
| Constructor Summary | |
|---|---|
Filter()
|
|
| Method Summary | |
|---|---|
void |
addCriteria(FilterCriteria criteria)
Adds a criteria expression to the filter. |
boolean |
evaluate(FieldContainer container)
Evaluates the filter, returns true if the supplied Task or Resource instance matches the filter criteria. |
java.util.List<FilterCriteria> |
getCriteria()
Retrieve the criteria used to define this filter. |
java.lang.Integer |
getID()
Retrieves the filter's unique ID. |
java.lang.String |
getName()
Retrieves the filter's name. |
boolean |
getPromptTextSet()
Retrieves a flag indicating if prompt text has been set for any of the criteria associated with the filter. |
boolean |
getShowRelatedSummaryRows()
Retrieves the "show related summary rows" flag. |
boolean |
isResourceFilter()
Retrieves a flag indicating if this is a resource filter. |
boolean |
isTaskFilter()
Retrieves a flag indicating if this is a task filter. |
void |
setID(java.lang.Integer id)
Sets the filter's unique ID. |
void |
setName(java.lang.String name)
Sets the filter's name. |
void |
setShowRelatedSummaryRows(boolean showRelatedSummaryRows)
Sets the "show related summary rows" flag. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Filter()
| Method Detail |
|---|
public void setID(java.lang.Integer id)
id - unique IDpublic java.lang.Integer getID()
public void setName(java.lang.String name)
name - filter namepublic java.lang.String getName()
public void setShowRelatedSummaryRows(boolean showRelatedSummaryRows)
showRelatedSummaryRows - boolean flagpublic boolean getShowRelatedSummaryRows()
public void addCriteria(FilterCriteria criteria)
criteria - criteria expressionpublic java.util.List<FilterCriteria> getCriteria()
public boolean isTaskFilter()
public boolean isResourceFilter()
public boolean evaluate(FieldContainer container)
container - Task or Resource instance
public boolean getPromptTextSet()
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 | |||||||||