]> gitweb.fperrin.net Git - Dictionary.git/blob - src/com/hughes/android/dictionary/engine/EntryTypeName.java
27868d6c3d83055081236b01709e6d373c782c2d
[Dictionary.git] / src / com / hughes / android / dictionary / engine / EntryTypeName.java
1 // Copyright 2011 Google Inc. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 package com.hughes.android.dictionary.engine;
16
17
18 public enum EntryTypeName {
19
20 //  WIKTIONARY_TITLE_ONE_WORD(0),
21 //  WIKTIONARY_MEANING_ONE_WORD(0),
22 //  WIKTIONARY_TRANSLATION_ONE_WORD(0),
23
24   WIKTIONARY_TITLE_SINGLE(0, true),
25   WIKTIONARY_INFLECTD_FORM_SINGLE(0, true),
26
27   NOUN(0),
28   VERB(0),
29   ADJ(0),
30   ADV(0),
31   ONE_WORD(0, true),
32   MULTIROW_HEAD_ONE_WORD(0, true),
33   MULTIROW_TAIL_ONE_WORD(0, true),
34
35   WIKTIONARY_TITLE_MULTI(0, true),
36   WIKTIONARY_INFLECTED_FORM_MULTI(0, true),
37   WIKTIONARY_TRANSLATION_SENSE(0),
38   WIKTIONARY_ENGLISH_DEF_WIKI_LINK(0),
39   WIKTIONARY_ENGLISH_DEF_OTHER_LANG(0),
40   WIKTIONARY_ENGLISH_DEF(0),
41
42   TWO_WORDS(0),
43   THREE_WORDS(0),
44   FOUR_WORDS(0),
45   FIVE_OR_MORE_WORDS(0),
46   WIKTIONARY_TRANSLATION_WIKI_TEXT(0),
47   WIKTIONARY_TRANSLATION_OTHER_TEXT(0),
48 //  WIKTIONARY_EXAMPLE_OTHER_WORDS(0),
49   
50   MULTIROW_HEAD_MANY_WORDS(0),
51   MULTIROW_TAIL_MANY_WORDS(0),
52   WIKTIONARY_EXAMPLE(0),
53   WIKTIONARY_BASE_FORM_SINGLE(0),  // These two should be eligible for removal....
54   WIKTIONARY_BASE_FORM_MULTI(0),
55   PART_OF_HYPHENATED(0),
56   BRACKETED(0),
57   PARENTHESIZED(0),
58   SEE_ALSO(0), 
59   WIKTIONARY_TRANSLITERATION(0),
60   ;
61
62   final int nameResId;
63   final boolean overridesStopList;
64   
65   private EntryTypeName(final int nameResId) {
66     this(nameResId, false);
67   }
68
69   private EntryTypeName(final int nameResId, final boolean overridesStopList) {
70     this.nameResId = nameResId;
71     this.overridesStopList = overridesStopList;
72   }
73
74 }