Enum IMetaPrimitive.PrimitiveType
- java.lang.Object
-
- java.lang.Enum<IMetaPrimitive.PrimitiveType>
-
- com.mendix.systemwideinterfaces.core.meta.IMetaPrimitive.PrimitiveType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IMetaPrimitive.PrimitiveType>
- Enclosing interface:
- IMetaPrimitive
public static enum IMetaPrimitive.PrimitiveType extends java.lang.Enum<IMetaPrimitive.PrimitiveType>
Defines all primitive types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AutoNumber
An auto-incrementing number.Binary
A binary value.Boolean
A Boolean value.DateTime
A date with time value.Decimal
A decimal number.Enum
An enumeration value.HashString
A hashed string value.Integer
A 32-bit integer number.Long
A 64-bit integer number.String
A string value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMetaPrimitive.PrimitiveType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IMetaPrimitive.PrimitiveType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AutoNumber
public static final IMetaPrimitive.PrimitiveType AutoNumber
An auto-incrementing number.
-
Binary
public static final IMetaPrimitive.PrimitiveType Binary
A binary value.
-
Boolean
public static final IMetaPrimitive.PrimitiveType Boolean
A Boolean value.
-
DateTime
public static final IMetaPrimitive.PrimitiveType DateTime
A date with time value.
-
Decimal
public static final IMetaPrimitive.PrimitiveType Decimal
A decimal number.
-
Enum
public static final IMetaPrimitive.PrimitiveType Enum
An enumeration value.
-
Integer
public static final IMetaPrimitive.PrimitiveType Integer
A 32-bit integer number.
-
Long
public static final IMetaPrimitive.PrimitiveType Long
A 64-bit integer number.
-
String
public static final IMetaPrimitive.PrimitiveType String
A string value.
-
HashString
public static final IMetaPrimitive.PrimitiveType HashString
A hashed string value.
-
-
Method Detail
-
values
public static IMetaPrimitive.PrimitiveType[] 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 (IMetaPrimitive.PrimitiveType c : IMetaPrimitive.PrimitiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IMetaPrimitive.PrimitiveType 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
-
-