OSDN Git Service

97ff31f82181aa73b1a8f2157a29d8c3049e446b
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / filters / AttributeFilter.java
1 /*\r
2  * This file is part of NeverNote \r
3  * Copyright 2009 Randy Baumgarte\r
4  * \r
5  * This file may be licensed under the terms of of the\r
6  * GNU General Public License Version 2 (the ``GPL'').\r
7  *\r
8  * Software distributed under the License is distributed\r
9  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either\r
10  * express or implied. See the GPL for the specific language\r
11  * governing rights and limitations.\r
12  *\r
13  * You should have received a copy of the GPL along with this\r
14  * program. If not, go to http://www.gnu.org/licenses/gpl.html\r
15  * or write to the Free Software Foundation, Inc.,\r
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
17  *\r
18 */\r
19 \r
20 package cx.fbn.nevernote.filters;\r
21 import com.evernote.edam.type.Note;\r
22 \r
23 public abstract class AttributeFilter {\r
24         private boolean set;\r
25         public AttributeFilter() {\r
26                 set = false;\r
27         }\r
28         public void set(boolean b) {\r
29                 set = b;\r
30         }\r
31         public boolean isSet() {\r
32                 return  set;\r
33     }\r
34     public abstract boolean attributeCheck(Note n);\r
35     public abstract String getLabel();\r
36 }\r