org.jboss.shrinkwrap.descriptor.api.javaee6
Enum GenericBooleanType
java.lang.Object
java.lang.Enum<GenericBooleanType>
org.jboss.shrinkwrap.descriptor.api.javaee6.GenericBooleanType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<GenericBooleanType>
public enum GenericBooleanType
- extends java.lang.Enum<GenericBooleanType>
This class implements the generic-booleanType
xsd type
Original Documentation:
This type defines four different values which can designate
boolean values. This includes values yes and no which are
not designated by xsd:boolean
- Since:
- Generation date :2011-07-19T22:55:02.759+02:00
- Author:
- Ralf Battenfeld
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
_TRUE
public static final GenericBooleanType _TRUE
_FALSE
public static final GenericBooleanType _FALSE
_YES
public static final GenericBooleanType _YES
_NO
public static final GenericBooleanType _NO
values
public static GenericBooleanType[] 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 (GenericBooleanType c : GenericBooleanType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GenericBooleanType 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 name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<GenericBooleanType>
getFromStringValue
public static GenericBooleanType getFromStringValue(java.lang.String value)