public enum ConstraintMode extends Enum<ConstraintMode>
constraint-mode
xsd typeEnum Constant and Description |
---|
_CONSTRAINT |
_NO_CONSTRAINT |
_PROVIDER_DEFAULT |
Modifier and Type | Method and Description |
---|---|
static ConstraintMode |
getFromStringValue(String value) |
String |
toString() |
static ConstraintMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintMode _CONSTRAINT
public static final ConstraintMode _NO_CONSTRAINT
public static final ConstraintMode _PROVIDER_DEFAULT
public static ConstraintMode[] values()
for (ConstraintMode c : ConstraintMode.values()) System.out.println(c);
public static ConstraintMode 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 String toString()
toString
in class Enum<ConstraintMode>
public static ConstraintMode getFromStringValue(String value)
Copyright © 2018 JBoss by Red Hat. All rights reserved.