|
JADE Java Persistence API 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<DefaultStyle>
com.jadeworld.jade.persistence.DefaultStyle
public enum DefaultStyle
Defines the set of default styles that an Entity can have. Sets the allowable values of the @Entity defaultStyle attribute.
| Enum Constant Summary | |
|---|---|
FIELD
FIELD means that each non-annotated property is treated as if it were annotated with @DbField() |
|
NONE
NONE means that each property in the entity class must have an explicit @DbField, @DbProperty, or @Transient annotation. |
|
PROPERTY
PROPERTY means that each non-annotated property is treated as if it were annotated with @DbProperty() |
|
TRANSIENT
TRANSIENT means that each non-annotated property is treated as if it were annotated with @Transient() |
|
| Method Summary | |
|---|---|
static DefaultStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DefaultStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 DefaultStyle NONE
public static final DefaultStyle FIELD
public static final DefaultStyle PROPERTY
public static final DefaultStyle TRANSIENT
| Method Detail |
|---|
public static final DefaultStyle[] values()
for(DefaultStyle c : DefaultStyle.values())
System.out.println(c);
public static DefaultStyle 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
|
JADE Java Persistence API 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||