public enum Multiplicity extends Enum<Multiplicity>
Enum Constant and Description |
---|
ANY |
MULTI_VALUED |
SINGLE_VALUED |
Modifier and Type | Method and Description |
---|---|
static Multiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Multiplicity SINGLE_VALUED
public static final Multiplicity MULTI_VALUED
public static final Multiplicity ANY
public static Multiplicity[] values()
for (Multiplicity c : Multiplicity.values()) System.out.println(c);
public static Multiplicity 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 © 2005–2018 Alfresco Software. All rights reserved.