|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Attribute.PersistentAttributeType>
javax.persistence.metamodel.Attribute.PersistentAttributeType
public static enum Attribute.PersistentAttributeType
| Enum Constant Summary | |
|---|---|
BASIC
Basic attribute |
|
ELEMENT_COLLECTION
Element collection |
|
EMBEDDED
Embeddable class attribute |
|
MANY_TO_MANY
Many-to-many association |
|
MANY_TO_ONE
Many-to-one association |
|
ONE_TO_MANY
One-to-many association |
|
ONE_TO_ONE
One-to-one association |
|
| Method Summary | |
|---|---|
static Attribute.PersistentAttributeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Attribute.PersistentAttributeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are 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 Attribute.PersistentAttributeType MANY_TO_ONE
public static final Attribute.PersistentAttributeType ONE_TO_ONE
public static final Attribute.PersistentAttributeType BASIC
public static final Attribute.PersistentAttributeType EMBEDDED
public static final Attribute.PersistentAttributeType MANY_TO_MANY
public static final Attribute.PersistentAttributeType ONE_TO_MANY
public static final Attribute.PersistentAttributeType ELEMENT_COLLECTION
| Method Detail |
|---|
public static Attribute.PersistentAttributeType[] values()
for (Attribute.PersistentAttributeType c : Attribute.PersistentAttributeType.values()) System.out.println(c);
public static Attribute.PersistentAttributeType 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
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||