public enum MappingType extends Enum<MappingType>
| Enum Constant and Description |
|---|
ELEMENT_COLLECTION
Element collection
|
EMBEDDABLE
Embeddable mapping
|
PLURAL_ASSOCIATION
Plural association
|
SINGULAR_ASSOCIATION
Singular association
|
| Modifier and Type | Method and Description |
|---|---|
static MappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingType SINGULAR_ASSOCIATION
public static final MappingType PLURAL_ASSOCIATION
public static final MappingType ELEMENT_COLLECTION
public static final MappingType EMBEDDABLE
public static MappingType[] values()
for (MappingType c : MappingType.values()) System.out.println(c);
public static MappingType 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 nullCopyright © 2012-2013 Batoo. All Rights Reserved.