|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PropertyState>
org.spicefactory.pimento.io.PropertyState
public enum PropertyState
Represents the state of a property. Instances of this class are often included in entity snapshots instead of the actual values for the property, for example to represent lazy or inaccessible properties.
| Enum Constant Summary | |
|---|---|
INACCESSIBLE
Represents a property value that is inaccessible, usually due to security constraints. |
|
INITIALIZED
Represents a normal initialized property value. |
|
LAZY
Represent a lazy association or collection that can be fetched in a separate request. |
|
UNMODIFIED
Represents an unmodified property value. |
|
| Method Summary | |
|---|---|
static PropertyState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PropertyState[] |
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 PropertyState INACCESSIBLE
public static final PropertyState LAZY
public static final PropertyState INITIALIZED
public static final PropertyState UNMODIFIED
| Method Detail |
|---|
public static final PropertyState[] values()
for(PropertyState c : PropertyState.values())
System.out.println(c);
public static PropertyState 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 | ||||||||