net.sf.csutils.core.model.vo
Enum ROAttributeType

java.lang.Object
  extended by java.lang.Enum<ROAttributeType>
      extended by net.sf.csutils.core.model.vo.ROAttributeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ROAttributeType>

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

Java class for ROAttributeType.

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

 <simpleType name="ROAttributeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="relation"/>
     <enumeration value="string"/>
     <enumeration value="integer"/>
     <enumeration value="longInteger"/>
     <enumeration value="duration"/>
     <enumeration value="bool"/>
     <enumeration value="dateTime"/>
     <enumeration value="date"/>
     <enumeration value="time"/>
     <enumeration value="emailAddress"/>
     <enumeration value="number"/>
     <enumeration value="ipv4Address"/>
     <enumeration value="ipv6Address"/>
     <enumeration value="uri"/>
     <enumeration value="classification"/>
     <enumeration value="file"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BOOL
           
CLASSIFICATION
           
DATE
           
DATE_TIME
           
DURATION
           
EMAIL_ADDRESS
           
FILE
           
INTEGER
           
IPV_4_ADDRESS
           
IPV_6_ADDRESS
           
LONG_INTEGER
           
NUMBER
           
RELATION
           
STRING
           
TIME
           
URI
           
 
Method Summary
static ROAttributeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static ROAttributeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ROAttributeType[] 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

RELATION

public static final ROAttributeType RELATION

STRING

public static final ROAttributeType STRING

INTEGER

public static final ROAttributeType INTEGER

LONG_INTEGER

public static final ROAttributeType LONG_INTEGER

DURATION

public static final ROAttributeType DURATION

BOOL

public static final ROAttributeType BOOL

DATE_TIME

public static final ROAttributeType DATE_TIME

DATE

public static final ROAttributeType DATE

TIME

public static final ROAttributeType TIME

EMAIL_ADDRESS

public static final ROAttributeType EMAIL_ADDRESS

NUMBER

public static final ROAttributeType NUMBER

IPV_4_ADDRESS

public static final ROAttributeType IPV_4_ADDRESS

IPV_6_ADDRESS

public static final ROAttributeType IPV_6_ADDRESS

URI

public static final ROAttributeType URI

CLASSIFICATION

public static final ROAttributeType CLASSIFICATION

FILE

public static final ROAttributeType FILE
Method Detail

values

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

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

valueOf

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

value

public java.lang.String value()

fromValue

public static ROAttributeType fromValue(java.lang.String v)


Copyright © 2009-2011. All Rights Reserved.