|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PropertyKind>
com.vaadin.addon.jpacontainer.metadata.PropertyKind
public enum PropertyKind
Enumeration defining the property kind.
| Enum Constant Summary | |
|---|---|
ELEMENT_COLLECTION
The property is a collection Embeddables or basic data types. |
|
EMBEDDED
The property is embedded. |
|
MANY_TO_MANY
The property is a reference. |
|
MANY_TO_ONE
The property is a reference. |
|
NONPERSISTENT
The property is not persistent property. |
|
ONE_TO_MANY
The property is a collection. |
|
ONE_TO_ONE
The property is a reference. |
|
SIMPLE
The property is of a simple datatype. |
|
| Method Summary | |
|---|---|
static PropertyKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PropertyKind[] |
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 PropertyKind EMBEDDED
Embeddable,
Embeddedpublic static final PropertyKind MANY_TO_ONE
OneToOne,
ManyToOnepublic static final PropertyKind ONE_TO_ONE
ManyToOnepublic static final PropertyKind ONE_TO_MANY
OneToManypublic static final PropertyKind MANY_TO_MANY
ManyToManypublic static final PropertyKind ELEMENT_COLLECTION
Embeddables or basic data types.
ElementCollectionpublic static final PropertyKind SIMPLE
public static final PropertyKind NONPERSISTENT
| Method Detail |
|---|
public static PropertyKind[] values()
for (PropertyKind c : PropertyKind.values()) System.out.println(c);
public static PropertyKind 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||