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