Enum MetamodelHelper.AttributeCategory
java.lang.Object
java.lang.Enum<MetamodelHelper.AttributeCategory>
org.apache.openjpa.persistence.jest.MetamodelHelper.AttributeCategory
- All Implemented Interfaces:
Serializable
,Comparable<MetamodelHelper.AttributeCategory>
- Enclosing class:
- MetamodelHelper
public static enum MetamodelHelper.AttributeCategory
extends Enum<MetamodelHelper.AttributeCategory>
Attribute Category makes a finer distinction over PersistentAttributeType declared in
Important: The name of the enumerated elements is important because a) some of these names are same as in Attribute.PersistentAttributeType enumeration b) names are used by XML serialization with underscores replaced by dash and decapitalized
Attribute.PersistentAttributeType
such as id, version, lob or enum.
Important: The name of the enumerated elements is important because a) some of these names are same as in Attribute.PersistentAttributeType enumeration b) names are used by XML serialization with underscores replaced by dash and decapitalized
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static MetamodelHelper.AttributeCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ID
-
VERSION
-
BASIC
-
ENUM
-
EMBEDDED
-
LOB
-
ONE_TO_ONE
-
MANY_TO_ONE
-
ONE_TO_MANY
-
ELEMENT_COLLECTION
-
MANY_TO_MANY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-