public enum AdaptationConstraint extends Enum<AdaptationConstraint>
AdaptationType
, to indicate
a constraint which should be placed on the generated schema type.Enum Constant and Description |
---|
CHOICE_TYPE
Indicates that the generated structured type should be considered a "choice" type,
such that only one of its child elements may be specified.
|
Modifier and Type | Method and Description |
---|---|
static AdaptationConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdaptationConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdaptationConstraint CHOICE_TYPE
public static AdaptationConstraint[] values()
for (AdaptationConstraint c : AdaptationConstraint.values()) System.out.println(c);
public static AdaptationConstraint 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 null