1 // Copyright 2011 Google Inc. All Rights Reserved.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
15 package com.hughes.android.dictionary.engine;
18 public enum EntryTypeName {
20 // WIKTIONARY_TITLE_ONE_WORD(0),
21 // WIKTIONARY_MEANING_ONE_WORD(0),
22 // WIKTIONARY_TRANSLATION_ONE_WORD(0),
24 WIKTIONARY_TITLE_SINGLE(0, true),
25 WIKTIONARY_INFLECTD_FORM_SINGLE(0, true),
32 MULTIROW_HEAD_ONE_WORD(0, true),
33 MULTIROW_TAIL_ONE_WORD(0, true),
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),
45 FIVE_OR_MORE_WORDS(0),
46 WIKTIONARY_TRANSLATION_WIKI_TEXT(0),
47 WIKTIONARY_TRANSLATION_OTHER_TEXT(0),
48 // WIKTIONARY_EXAMPLE_OTHER_WORDS(0),
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),
59 WIKTIONARY_TRANSLITERATION(0),
63 final boolean overridesStopList;
65 private EntryTypeName(final int nameResId) {
66 this(nameResId, false);
69 private EntryTypeName(final int nameResId, final boolean overridesStopList) {
70 this.nameResId = nameResId;
71 this.overridesStopList = overridesStopList;