|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Reverse>
org.compass.annotations.Reverse
public enum Reverse
Specifies whether and how the meta-data proeprty should value will be revered.
| Enum Constant Summary | |
|---|---|
NO
No reversing will happen on the meta-data value. |
|
READER
A special reader will wrap the actual string value, and reverse it. |
|
STRING
A new string will be used to hold the reverse value of the meta-data. |
|
| Method Summary | |
|---|---|
static Reverse |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Reverse[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Reverse NO
public static final Reverse READER
STRING
option, but means that it will always be Index.ANALYZED
and Store.NO.
public static final Reverse STRING
READER option, but allows to control
the Index and the Store.
| Method Detail |
|---|
public static final Reverse[] values()
for(Reverse c : Reverse.values())
System.out.println(c);
public static Reverse valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||