|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FieldMode>
org.schwa.dr.FieldMode
public enum FieldMode
A enum defining the types of modes that an Ann field can have.
| Enum Constant Summary | |
|---|---|
DELETE
DELETE states that this field will not be written out during serialisation. |
|
READ_ONLY
Fields which are set to be READ_ONLY will have their serialised form cached
with the annotation instance as well as being deserialised onto the object. |
|
READ_WRITE
READ_WRITE is the default value for all docrep fields. |
|
| Method Summary | |
|---|---|
static FieldMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FieldMode[] |
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 FieldMode READ_WRITE
READ_WRITE is the default value for all docrep fields. Fields of this type
do not have any laziness.
public static final FieldMode READ_ONLY
READ_ONLY will have their serialised form cached
with the annotation instance as well as being deserialised onto the object. The original
serialised form will be written back out when the instance is serialised.
public static final FieldMode DELETE
DELETE states that this field will not be written out during serialisation.
| Method Detail |
|---|
public static FieldMode[] values()
for (FieldMode c : FieldMode.values()) System.out.println(c);
public static FieldMode 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||