java.io.Serializable
, java.lang.Comparable<FieldPersistenceType>
public enum FieldPersistenceType extends java.lang.Enum<FieldPersistenceType>
Enum Constant | Description |
---|---|
MANY_TO_MANY |
|
ONE_TO_MANY |
|
PERSISTANCECAPABLE |
|
PRIMITIVE |
|
SERIALIZABLE |
Modifier and Type | Method | Description |
---|---|---|
static FieldPersistenceType |
fromValue(int value) |
Method fromValue().
|
static FieldPersistenceType |
fromValue(short value) |
Method fromValue.
|
short |
value() |
Method value.
|
static FieldPersistenceType |
valueOf(java.lang.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.
|
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
public static FieldPersistenceType[] values()
for (FieldPersistenceType c : FieldPersistenceType.values()) System.out.println(c);
public static FieldPersistenceType 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 namejava.lang.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()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com