| 
Cumulus4j API (1.1.1)  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FieldMetaRole>
org.cumulus4j.store.model.FieldMetaRole
public enum FieldMetaRole
Enum for the role of a FieldMeta.
| Enum Constant Summary | |
|---|---|
arrayElement
Sub-field (aka part of a real field) used when the primary field is an array.  | 
|
collectionElement
Sub-field (aka part of a real field) used when the primary field is of type Collection
 (or a sub-type like List, Set etc.). | 
|
mapKey
Sub-field (aka part of a real field) used when the primary field is of type Map
 and this sub-field is the Map's key. | 
|
mapValue
Sub-field (aka part of a real field) used when the primary field is of type Map
 and this sub-field is the Map's value. | 
|
primary
Only those FieldMeta instances with this role are registered in ClassMeta directly. | 
|
| Method Summary | |
|---|---|
static FieldMetaRole | 
valueOf(String name)
Returns the enum constant of this type with the specified name.  | 
static FieldMetaRole[] | 
values()
Returns an array containing the constants of this enum type, in the order they are declared.  | 
| Methods inherited from class java.lang.Enum | 
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final FieldMetaRole primary
FieldMeta instances with this role are registered in ClassMeta directly.
 All others are registered as sub-FieldMeta.
public static final FieldMetaRole collectionElement
Collection
 (or a sub-type like List, Set etc.).
public static final FieldMetaRole arrayElement
public static final FieldMetaRole mapKey
Map
 and this sub-field is the Map's key.
public static final FieldMetaRole mapValue
Map
 and this sub-field is the Map's value.
| Method Detail | 
|---|
public static FieldMetaRole[] values()
for (FieldMetaRole c : FieldMetaRole.values()) System.out.println(c);
public static FieldMetaRole 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
NullPointerException - if the argument is null
  | 
Cumulus4j API (1.1.1)  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||