net.sf.magicproject.token
Enum TrueFalseAuto

java.lang.Object
  extended by java.lang.Enum<TrueFalseAuto>
      extended by net.sf.magicproject.token.TrueFalseAuto
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TrueFalseAuto>

public enum TrueFalseAuto
extends java.lang.Enum<TrueFalseAuto>

Since:
0.93
Author:
Fabrice Daugan

Enum Constant Summary
AUTO
           
FALSE
           
TRUE
           
 
Method Summary
static TrueFalseAuto deserialize(java.io.InputStream input)
          Read and return the enum from the given inputstream.
 boolean getValue()
          The associated boolean value.
 void serialize(java.io.OutputStream out)
          Write this enum to the given outputstream.
static TrueFalseAuto valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TrueFalseAuto valueOfXsd(java.lang.String xsdName)
          Return null of enum value corresponding to the given Xsd name.
static TrueFalseAuto[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TRUE

public static final TrueFalseAuto TRUE

FALSE

public static final TrueFalseAuto FALSE

AUTO

public static final TrueFalseAuto AUTO
Method Detail

values

public static TrueFalseAuto[] 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 (TrueFalseAuto c : TrueFalseAuto.values())
    System.out.println(c);

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

valueOf

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

valueOfXsd

public static TrueFalseAuto valueOfXsd(java.lang.String xsdName)
Return null of enum value corresponding to the given Xsd name.

Parameters:
xsdName - the Xsd name of this Aabstract value.
Returns:
null of enum value corresponding to the given Xsd name.

serialize

public void serialize(java.io.OutputStream out)
               throws java.io.IOException
Write this enum to the given outputstream.

Parameters:
out - the stream ths enum would be written.
Throws:
java.io.IOException - If some other I/O error occurs

deserialize

public static TrueFalseAuto deserialize(java.io.InputStream input)
                                 throws java.io.IOException
Read and return the enum from the given inputstream.

Parameters:
input - the stream containing the enum to read.
Returns:
the enum from the given inputstream.
Throws:
java.io.IOException - If some other I/O error occurs

getValue

public boolean getValue()
The associated boolean value.

Returns:
the associated boolean value.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.