Enum Class PropertyKind
- All Implemented Interfaces:
Serializable,Comparable<PropertyKind>,Constable
Enumeration defining the property kind.
- Author:
- Petter Holmström (Vaadin Ltd)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe property is a collectionEmbeddables or basic data types.The property is embedded.The property is a reference.The property is a reference.The property is not persistent property.The property is a collection.The property is a reference.The property is of a simple datatype. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyKindReturns the enum constant of this class with the specified name.static PropertyKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMBEDDED
The property is embedded.- See Also:
-
MANY_TO_ONE
The property is a reference.- See Also:
-
ONE_TO_ONE
The property is a reference.- See Also:
-
ONE_TO_MANY
The property is a collection.- See Also:
-
MANY_TO_MANY
The property is a reference.- See Also:
-
ELEMENT_COLLECTION
The property is a collectionEmbeddables or basic data types.- See Also:
-
SIMPLE
The property is of a simple datatype. -
NONPERSISTENT
The property is not persistent property.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-