|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FieldPersistenceType>
org.exolab.castor.persist.FieldPersistenceType
public enum FieldPersistenceType
Enumeration for field type in the context of persistence; it is distinguished between primitive fields, serializable fields and relational fields (one-to-one, one-to-many and many-to-many).
| Enum Constant Summary | |
|---|---|
MANY_TO_MANY
|
|
ONE_TO_MANY
|
|
PERSISTANCECAPABLE
|
|
PRIMITIVE
|
|
SERIALIZABLE
|
|
| Method Summary | |
|---|---|
static FieldPersistenceType |
fromValue(int value)
Method fromValue(). |
static FieldPersistenceType |
fromValue(short value)
Method fromValue. |
short |
value()
Method value. |
static FieldPersistenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FieldPersistenceType[] |
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 FieldPersistenceType PRIMITIVE
public static final FieldPersistenceType SERIALIZABLE
public static final FieldPersistenceType PERSISTANCECAPABLE
public static final FieldPersistenceType ONE_TO_MANY
public static final FieldPersistenceType MANY_TO_MANY
| Method Detail |
|---|
public static FieldPersistenceType[] values()
for (FieldPersistenceType c : FieldPersistenceType.values()) System.out.println(c);
public static FieldPersistenceType 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 nullpublic static FieldPersistenceType fromValue(int value)
value - The actual value as int.
public static FieldPersistenceType fromValue(short value)
The - actual value.
public short value()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||