public enum ConstraintMode extends Enum<ConstraintMode>
Java class for constraint-mode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="constraint-mode">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="CONSTRAINT"/>
<enumeration value="NO_CONSTRAINT"/>
<enumeration value="PROVIDER_DEFAULT"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CONSTRAINT |
NO_CONSTRAINT |
PROVIDER_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static ConstraintMode |
fromValue(String v) |
String |
value() |
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 static ConstraintMode fromValue(String v)
Copyright © 2018–2018, microBean. All rights reserved.