[graphl-cvs] graphl/src/org/mediavirus/graphl/graph/filter SourceFilter.java
Status: Pre-Alpha
Brought to you by:
flo1
From: Flo L. <fl...@us...> - 2005-09-05 15:43:21
|
Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/graph/filter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14220/src/org/mediavirus/graphl/graph/filter Modified Files: SourceFilter.java Log Message: added convenience methods and constructor Index: SourceFilter.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/graph/filter/SourceFilter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SourceFilter.java 24 Aug 2005 16:08:04 -0000 1.1 --- SourceFilter.java 5 Sep 2005 15:43:13 -0000 1.2 *************** *** 25,28 **** --- 25,36 ---- protected boolean allMustMatch = true; + public SourceFilter() { + + } + + public SourceFilter(boolean rejectSources, boolean allMustMatch) { + this.rejectSources = rejectSources; + this.allMustMatch = allMustMatch; + } /** *************** *** 101,103 **** --- 109,123 ---- } + /** + * @return Returns the allMustMatch. + */ + public boolean isAllMustMatch() { + return allMustMatch; + } + /** + * @param allMustMatch The allMustMatch to set. + */ + public void setAllMustMatch(boolean allMustMatch) { + this.allMustMatch = allMustMatch; + } } |