Enum BuiltInType
- java.lang.Object
-
- java.lang.Enum<BuiltInType>
-
- org.kie.workbench.common.dmn.api.property.dmn.types.BuiltInType
-
- All Implemented Interfaces:
Serializable,Comparable<BuiltInType>
public enum BuiltInType extends Enum<BuiltInType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QNameasQName()StringgetName()String[]getNames()StringtoString()static BuiltInTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BuiltInType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER
public static final BuiltInType NUMBER
-
STRING
public static final BuiltInType STRING
-
BOOLEAN
public static final BuiltInType BOOLEAN
-
DURATION_DAYS_TIME
public static final BuiltInType DURATION_DAYS_TIME
-
DURATION_YEAR_MONTH
public static final BuiltInType DURATION_YEAR_MONTH
-
TIME
public static final BuiltInType TIME
-
DATE_TIME
public static final BuiltInType DATE_TIME
-
ANY
public static final BuiltInType ANY
-
DATE
public static final BuiltInType DATE
-
CONTEXT
public static final BuiltInType CONTEXT
-
UNDEFINED
public static final BuiltInType UNDEFINED
-
-
Method Detail
-
values
public static BuiltInType[] 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 (BuiltInType c : BuiltInType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuiltInType 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
-
getName
public String getName()
-
getNames
public String[] getNames()
-
asQName
public QName asQName()
-
toString
public String toString()
- Overrides:
toStringin classEnum<BuiltInType>
-
-