public enum FieldPersistenceType extends Enum<FieldPersistenceType>
Enum Constant and Description |
---|
MANY_TO_MANY |
ONE_TO_MANY |
PERSISTANCECAPABLE |
PRIMITIVE |
SERIALIZABLE |
Modifier and Type | Method and Description |
---|---|
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.
|
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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()
Copyright © 2018. All rights reserved.