public enum RestrictionType extends Enum<RestrictionType>
Java class for RestrictionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RestrictionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="All"/> <enumeration value="enumeration"/> <enumeration value="fractionDigits"/> <enumeration value="length"/> <enumeration value="maxExclusive"/> <enumeration value="maxInclusive"/> <enumeration value="maxLength"/> <enumeration value="minExclusive"/> <enumeration value="minInclusive"/> <enumeration value="minLength"/> <enumeration value="pattern"/> <enumeration value="totalDigits"/> <enumeration value="whiteSpace"/> <enumeration value="None"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ALL |
ENUMERATION |
FRACTION_DIGITS |
LENGTH |
MAX_EXCLUSIVE |
MAX_INCLUSIVE |
MAX_LENGTH |
MIN_EXCLUSIVE |
MIN_INCLUSIVE |
MIN_LENGTH |
NONE |
PATTERN |
TOTAL_DIGITS |
WHITE_SPACE |
Modifier and Type | Method and Description |
---|---|
static RestrictionType |
fromValue(String v) |
String |
value() |
static RestrictionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictionType ALL
public static final RestrictionType ENUMERATION
public static final RestrictionType FRACTION_DIGITS
public static final RestrictionType LENGTH
public static final RestrictionType MAX_EXCLUSIVE
public static final RestrictionType MAX_INCLUSIVE
public static final RestrictionType MAX_LENGTH
public static final RestrictionType MIN_EXCLUSIVE
public static final RestrictionType MIN_INCLUSIVE
public static final RestrictionType MIN_LENGTH
public static final RestrictionType PATTERN
public static final RestrictionType TOTAL_DIGITS
public static final RestrictionType WHITE_SPACE
public static final RestrictionType NONE
public static RestrictionType[] values()
for (RestrictionType c : RestrictionType.values()) System.out.println(c);
public static RestrictionType 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 value()
public static RestrictionType fromValue(String v)
Copyright © 2019 JBoss by Red Hat. All rights reserved.