|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Persistability>
org.nakedobjects.metamodel.spec.Persistability
public enum Persistability
| Enum Constant Summary | |
|---|---|
PROGRAM_PERSISTABLE
Marks a class as being persistable, but only by under application program control. |
|
TRANSIENT
Marks a class as transient - such an object cannot be persisted. |
|
USER_PERSISTABLE
Marks a class as being persistable by the user (or under application program control). |
|
| Method Summary | |
|---|---|
boolean |
isPersistable()
|
java.lang.String |
toString()
|
static Persistability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Persistability[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Persistability PROGRAM_PERSISTABLE
public static final Persistability TRANSIENT
public static final Persistability USER_PERSISTABLE
| Method Detail |
|---|
public static Persistability[] values()
for (Persistability c : Persistability.values()) System.out.println(c);
public static Persistability valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic boolean isPersistable()
public java.lang.String toString()
toString in class java.lang.Enum<Persistability>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||