Package com.iizix
Enum Value.Category
- java.lang.Object
- java.lang.Enum<Value.Category>
- com.iizix.Value.Category
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Value.Category>
- Enclosing class:
- Value
public static enum Value.Category extends java.lang.Enum<Value.Category>
The enumeration of Categories.
Enum Constant Summary
Enum Constants Enum Constant Description BinaryBinary.BooleanBoolean category.DateDate.DateTimeDate and time.DurationDuration.IntegerMathematical integer number category (not to confuse with the Integer or Long values).KStringKString category.MonthDayYear.PeriodPeriod.RealReal numbers.StringString category.TimeTime.XMLXML calendar and duration.YearYear.YearMonthYear.
Field Summary
Fields Modifier and Type Field Description java.lang.StringdescriptionCategory description.booleanisUserPatternsSupportedFlag indicating user patterns are supported.java.lang.String[]patternDescriptionsThe default patterns.java.lang.String[]patternsThe default patterns.java.lang.String[]promptsThe prompts available, tab delimited, null for none.
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Value.CategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Value.Category[]values()Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
String
public static final Value.Category String
String category.
KString
public static final Value.Category KString
KString category.
Boolean
public static final Value.Category Boolean
Boolean category.
Integer
public static final Value.Category Integer
Mathematical integer number category (not to confuse with the Integer or Long values).
Real
public static final Value.Category Real
Real numbers.
Time
public static final Value.Category Time
Time.
Date
public static final Value.Category Date
Date.
DateTime
public static final Value.Category DateTime
Date and time.
Duration
public static final Value.Category Duration
Duration.
Period
public static final Value.Category Period
Period.
Year
public static final Value.Category Year
Year.
YearMonth
public static final Value.Category YearMonth
Year.
MonthDay
public static final Value.Category MonthDay
Year.
XML
public static final Value.Category XML
XML calendar and duration.
Binary
public static final Value.Category Binary
Binary.
Field Detail
description
public final java.lang.String description
Category description.
patterns
public final java.lang.String[] patterns
The default patterns. If the patterns are empty, there is no pattern support.
patternDescriptions
public final java.lang.String[] patternDescriptions
The default patterns. If the patterns are empty, there is no pattern support.
prompts
public final java.lang.String[] prompts
The prompts available, tab delimited, null for none.
isUserPatternsSupported
public final boolean isUserPatternsSupported
Flag indicating user patterns are supported.
Method Detail
values
public static Value.Category[] 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 (Value.Category c : Value.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static Value.Category valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null