com.daylight.enumtype
Enum PropertyType

java.lang.Object
  extended by java.lang.Enum<PropertyType>
      extended by com.daylight.enumtype.PropertyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertyType>

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

Property type, values are 'Boolean', 'Handle', 'Integer', 'Real', 'String' and 'None'


Enum Constant Summary
Boolean
           
Handle
           
Integer
           
None
           
Real
           
String
           
 
Method Summary
static PropertyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PropertyType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Boolean

public static final PropertyType Boolean

Handle

public static final PropertyType Handle

Integer

public static final PropertyType Integer

Real

public static final PropertyType Real

String

public static final PropertyType String

None

public static final PropertyType None
Method Detail

values

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

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

valueOf

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