public enum AttributeNature extends Enum<AttributeNature>
Enum Constant and Description |
---|
BASIC |
ELEMENT_COLLECTION |
EMBEDDED |
EMBEDDED_ID |
MANY_TO_MANY |
MANY_TO_ONE |
ONE_TO_MANY |
ONE_TO_ONE |
Modifier and Type | Method and Description |
---|---|
org.jboss.jandex.DotName |
getAnnotationDotName() |
static AttributeNature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeNature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeNature BASIC
public static final AttributeNature ONE_TO_ONE
public static final AttributeNature ONE_TO_MANY
public static final AttributeNature MANY_TO_ONE
public static final AttributeNature MANY_TO_MANY
public static final AttributeNature ELEMENT_COLLECTION
public static final AttributeNature EMBEDDED_ID
public static final AttributeNature EMBEDDED
public static AttributeNature[] values()
for (AttributeNature c : AttributeNature.values()) System.out.println(c);
public static AttributeNature 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 nullpublic org.jboss.jandex.DotName getAnnotationDotName()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.