org.netbeans.modules.bpel.model.api.support
Enum TBoolean

java.lang.Object
  extended by java.lang.Enum<TBoolean>
      extended by org.netbeans.modules.bpel.model.api.support.TBoolean
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TBoolean>, EnumValue

public enum TBoolean
extends java.lang.Enum<TBoolean>
implements EnumValue

Java class for tBoolean.

The following schema fragment specifies the expected content contained within this class.

    <simpleType name="tBoolean">
      <restriction base="{http://www.w3.org/2001/XMLSchema}string">
        <enumeration value="yes"/>
        <enumeration value="no"/>
      </restriction>
    </simpleType>
 


Enum Constant Summary
INVALID
           
NO
           
YES
           
 
Method Summary
static TBoolean forString(java.lang.String str)
          Returns enum by its string value.
 java.lang.Boolean getBoolean()
          Deprecated. Method can return null value. So it means that boolean type is not appropriate type for represent this enum.
 boolean isInvalid()
          
 java.lang.String toString()
          
static TBoolean valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TBoolean[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO

public static final TBoolean NO

YES

public static final TBoolean YES

INVALID

public static final TBoolean INVALID
Method Detail

values

public static final TBoolean[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TBoolean c : TBoolean.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TBoolean 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

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<TBoolean>

isInvalid

public boolean isInvalid()

Specified by:
isInvalid in interface EnumValue
Returns:
Is valid or not this enumeration object.

getBoolean

@Deprecated
public java.lang.Boolean getBoolean()
Deprecated. Method can return null value. So it means that boolean type is not appropriate type for represent this enum.

Returns:
boolean representation of enumeration.

forString

public static TBoolean forString(java.lang.String str)
Returns enum by its string value.

Parameters:
str - string representation.
Returns:
enum.