net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.jomc
Enum PropertyType

java.lang.Object
  extended by java.lang.Enum<PropertyType>
      extended by net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.jomc.PropertyType
All Implemented Interfaces:
Serializable, Comparable<PropertyType>

public enum PropertyType
extends Enum<PropertyType>

Enumeration of property types.

Java class for PropertyType.

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

 <simpleType name="PropertyType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
     <enumeration value="byte"/>
     <enumeration value="short"/>
     <enumeration value="int"/>
     <enumeration value="long"/>
     <enumeration value="char"/>
     <enumeration value="float"/>
     <enumeration value="double"/>
     <enumeration value="boolean"/>
     <enumeration value="java.lang.Byte"/>
     <enumeration value="java.lang.Short"/>
     <enumeration value="java.lang.Integer"/>
     <enumeration value="java.lang.Long"/>
     <enumeration value="java.lang.Character"/>
     <enumeration value="java.lang.Float"/>
     <enumeration value="java.lang.Double"/>
     <enumeration value="java.lang.Boolean"/>
     <enumeration value="java.lang.String"/>
     <enumeration value="java.lang.Object"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BOOLEAN
           
BYTE
           
CHAR
           
DOUBLE
           
FLOAT
           
INT
           
JAVA_LANG_BOOLEAN
           
JAVA_LANG_BYTE
           
JAVA_LANG_CHARACTER
           
JAVA_LANG_DOUBLE
           
JAVA_LANG_FLOAT
           
JAVA_LANG_INTEGER
           
JAVA_LANG_LONG
           
JAVA_LANG_OBJECT
           
JAVA_LANG_SHORT
           
JAVA_LANG_STRING
           
LONG
           
SHORT
           
 
Method Summary
static PropertyType fromValue(String v)
           
 String value()
           
static PropertyType valueOf(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 are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BYTE

public static final PropertyType BYTE

SHORT

public static final PropertyType SHORT

INT

public static final PropertyType INT

LONG

public static final PropertyType LONG

CHAR

public static final PropertyType CHAR

FLOAT

public static final PropertyType FLOAT

DOUBLE

public static final PropertyType DOUBLE

BOOLEAN

public static final PropertyType BOOLEAN

JAVA_LANG_BYTE

public static final PropertyType JAVA_LANG_BYTE

JAVA_LANG_SHORT

public static final PropertyType JAVA_LANG_SHORT

JAVA_LANG_INTEGER

public static final PropertyType JAVA_LANG_INTEGER

JAVA_LANG_LONG

public static final PropertyType JAVA_LANG_LONG

JAVA_LANG_CHARACTER

public static final PropertyType JAVA_LANG_CHARACTER

JAVA_LANG_FLOAT

public static final PropertyType JAVA_LANG_FLOAT

JAVA_LANG_DOUBLE

public static final PropertyType JAVA_LANG_DOUBLE

JAVA_LANG_BOOLEAN

public static final PropertyType JAVA_LANG_BOOLEAN

JAVA_LANG_STRING

public static final PropertyType JAVA_LANG_STRING

JAVA_LANG_OBJECT

public static final PropertyType JAVA_LANG_OBJECT
Method Detail

values

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

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

valueOf

public static PropertyType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static PropertyType fromValue(String v)


Copyright © 2009 The CC-XJC Community. All Rights Reserved.