public enum AssociationType extends Enum<AssociationType>
| Enum Constant and Description |
|---|
COLLECTION |
INDEXED_REFERENCE |
KEYED_REFERENCE |
LIST |
MAP |
NONE |
REFERENCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCollection() |
boolean |
isReference() |
static AssociationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssociationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssociationType NONE
public static final AssociationType REFERENCE
public static final AssociationType INDEXED_REFERENCE
public static final AssociationType KEYED_REFERENCE
public static final AssociationType COLLECTION
public static final AssociationType LIST
public static final AssociationType MAP
public static AssociationType[] values()
for (AssociationType c : AssociationType.values()) System.out.println(c);
public static AssociationType 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 boolean isReference()
public boolean isCollection()
Copyright © 2016. All rights reserved.