public enum EnumPropertyType extends Enum<EnumPropertyType>
Java class for enumPropertyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="enumPropertyType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="boolean"/> <enumeration value="id"/> <enumeration value="integer"/> <enumeration value="datetime"/> <enumeration value="decimal"/> <enumeration value="html"/> <enumeration value="string"/> <enumeration value="uri"/> </restriction> </simpleType>
Enum Constant and Description |
---|
BOOLEAN |
DATETIME |
DECIMAL |
HTML |
ID |
INTEGER |
STRING |
URI |
Modifier and Type | Method and Description |
---|---|
static EnumPropertyType |
fromValue(String v) |
String |
value() |
static EnumPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumPropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumPropertyType BOOLEAN
public static final EnumPropertyType ID
public static final EnumPropertyType INTEGER
public static final EnumPropertyType DATETIME
public static final EnumPropertyType DECIMAL
public static final EnumPropertyType HTML
public static final EnumPropertyType STRING
public static final EnumPropertyType URI
public static EnumPropertyType[] values()
for (EnumPropertyType c : EnumPropertyType.values()) System.out.println(c);
public static EnumPropertyType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static EnumPropertyType fromValue(String v)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.