|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ManagedId>
org.compass.annotations.ManagedId
public enum ManagedId
For class proeprties (SearchableProperty, and SearchableId, Compass
might require an internal meta-data to be created, so it can identify the correct
value that match the property and preform proper unmarshalling.
Compass can create this internal meta-data automatcially by analyzing all the properties
in the class using the AUTO option. It can also not create the internal
meta-data using FALSE and use the first meta-data as the intenral id,
or always create the intenal meta-data using TRUE.
The other options allow to not create an interanl id and never unmarshalling that
property (), and not creating an internal id in case there all the meta
data mappings fro that property have store="no" (NO_STORE).
| Enum Constant Summary | |
|---|---|
AUTO
Compass will analyzer all the class mappings, and only create an internal id if one is required. |
|
FALSE
Compass will never create an internal meta-data for the property. |
|
NA
Not set, will let Compass defaults (on the Searchable mapping and on the global settings) to control this value. |
|
NO
Compess will not create an internal id for this proeprty. |
|
NO_STORE
Compass will not create an internal id for this property if all of its meta data created have store="no". |
|
TRUE
Compass will always create an intenral meta-data for the property. |
|
| Method Summary | |
|---|---|
static ManagedId |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ManagedId[] |
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 ManagedId NA
public static final ManagedId AUTO
public static final ManagedId TRUE
public static final ManagedId FALSE
public static final ManagedId NO
public static final ManagedId NO_STORE
| Method Detail |
|---|
public static final ManagedId[] values()
for(ManagedId c : ManagedId.values())
System.out.println(c);
public static ManagedId 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 | |||||||||