Enum FacetType
- java.lang.Object
-
- java.lang.Enum<FacetType>
-
- org.finos.legend.engine.external.format.xml.shared.datatypes.FacetType
-
- All Implemented Interfaces:
Serializable,Comparable<FacetType>
public enum FacetType extends Enum<FacetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENUMERATIONFRACTION_DIGITSLENGTHMAX_EXCLUSIVEMAX_INCLUSIVEMAX_LENGTHMIN_EXCLUSIVEMIN_INCLUSIVEMIN_LENGTHPATTERNTOTAL_DIGITSWHITESPACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Facetof(String value)static FacetTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FacetType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENUMERATION
public static final FacetType ENUMERATION
-
LENGTH
public static final FacetType LENGTH
-
MIN_LENGTH
public static final FacetType MIN_LENGTH
-
MAX_LENGTH
public static final FacetType MAX_LENGTH
-
MIN_INCLUSIVE
public static final FacetType MIN_INCLUSIVE
-
MIN_EXCLUSIVE
public static final FacetType MIN_EXCLUSIVE
-
MAX_INCLUSIVE
public static final FacetType MAX_INCLUSIVE
-
MAX_EXCLUSIVE
public static final FacetType MAX_EXCLUSIVE
-
TOTAL_DIGITS
public static final FacetType TOTAL_DIGITS
-
FRACTION_DIGITS
public static final FacetType FRACTION_DIGITS
-
PATTERN
public static final FacetType PATTERN
-
WHITESPACE
public static final FacetType WHITESPACE
-
-
Method Detail
-
values
public static FacetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FacetType c : FacetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FacetType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-