Package com.evolveum.midpoint.prism
Enum PrimitiveType
- java.lang.Object
-
- java.lang.Enum<PrimitiveType>
-
- com.evolveum.midpoint.prism.PrimitiveType
-
- All Implemented Interfaces:
Serializable
,Comparable<PrimitiveType>
public enum PrimitiveType extends Enum<PrimitiveType>
- Author:
- semancik
-
-
Field Summary
Fields Modifier and Type Field Description static QName
XSD_ANYURI
static QName
XSD_BASE64BINARY
static QName
XSD_BOOLEAN
static QName
XSD_BYTE
static QName
XSD_DATETIME
static QName
XSD_DECIMAL
static QName
XSD_DOUBLE
static QName
XSD_DURATION
static QName
XSD_FLOAT
static QName
XSD_INT
static QName
XSD_INTEGER
static QName
XSD_LONG
static QName
XSD_QNAME
static QName
XSD_SHORT
static QName
XSD_STRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getQname()
static PrimitiveType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PrimitiveType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final PrimitiveType STRING
-
DECIMAL
public static final PrimitiveType DECIMAL
-
INTEGER
public static final PrimitiveType INTEGER
-
INT
public static final PrimitiveType INT
-
LONG
public static final PrimitiveType LONG
-
SHORT
public static final PrimitiveType SHORT
-
FLOAT
public static final PrimitiveType FLOAT
-
DOUBLE
public static final PrimitiveType DOUBLE
-
BOOLEAN
public static final PrimitiveType BOOLEAN
-
BASE64BINARY
public static final PrimitiveType BASE64BINARY
-
DATETIME
public static final PrimitiveType DATETIME
-
DURATION
public static final PrimitiveType DURATION
-
BYTE
public static final PrimitiveType BYTE
-
QNAME
public static final PrimitiveType QNAME
-
ANYURI
public static final PrimitiveType ANYURI
-
-
Field Detail
-
XSD_STRING
public static final QName XSD_STRING
-
XSD_DECIMAL
public static final QName XSD_DECIMAL
-
XSD_INTEGER
public static final QName XSD_INTEGER
-
XSD_INT
public static final QName XSD_INT
-
XSD_LONG
public static final QName XSD_LONG
-
XSD_SHORT
public static final QName XSD_SHORT
-
XSD_FLOAT
public static final QName XSD_FLOAT
-
XSD_DOUBLE
public static final QName XSD_DOUBLE
-
XSD_BOOLEAN
public static final QName XSD_BOOLEAN
-
XSD_BASE64BINARY
public static final QName XSD_BASE64BINARY
-
XSD_DATETIME
public static final QName XSD_DATETIME
-
XSD_DURATION
public static final QName XSD_DURATION
-
XSD_BYTE
public static final QName XSD_BYTE
-
XSD_QNAME
public static final QName XSD_QNAME
-
XSD_ANYURI
public static final QName XSD_ANYURI
-
-
Method Detail
-
values
public static 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 (PrimitiveType c : 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 PrimitiveType 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
-
getQname
public QName getQname()
-
-