net.sf.csutils.core.model
Enum ROAttribute.Type

java.lang.Object
  extended by java.lang.Enum<ROAttribute.Type>
      extended by net.sf.csutils.core.model.ROAttribute.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ROAttribute.Type>
Enclosing interface:
ROAttribute

public static enum ROAttribute.Type
extends java.lang.Enum<ROAttribute.Type>


Enum Constant Summary
bool
          Boolean type
classification
          Classification
date
          Date type
dateTime
          DateTime type
duration
          Duration type
emailAddress
          Time type
file
          File
integer
          Integer type
ipv4Address
          IPV4 address
ipv6Address
          IPV6 address
longInteger
          Long type
number
          Number type
relation
          Relation type
string
          String type (default)
time
          Time type
uri
          URI/URL
 
Method Summary
static ROAttribute.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ROAttribute.Type[] 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

string

public static final ROAttribute.Type string
String type (default)


bool

public static final ROAttribute.Type bool
Boolean type


integer

public static final ROAttribute.Type integer
Integer type


longInteger

public static final ROAttribute.Type longInteger
Long type


duration

public static final ROAttribute.Type duration
Duration type


dateTime

public static final ROAttribute.Type dateTime
DateTime type


date

public static final ROAttribute.Type date
Date type


number

public static final ROAttribute.Type number
Number type


time

public static final ROAttribute.Type time
Time type


ipv4Address

public static final ROAttribute.Type ipv4Address
IPV4 address


ipv6Address

public static final ROAttribute.Type ipv6Address
IPV6 address


emailAddress

public static final ROAttribute.Type emailAddress
Time type


relation

public static final ROAttribute.Type relation
Relation type


uri

public static final ROAttribute.Type uri
URI/URL


classification

public static final ROAttribute.Type classification
Classification


file

public static final ROAttribute.Type file
File

Method Detail

values

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

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

valueOf

public static ROAttribute.Type 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


Copyright © 2009-2011. All Rights Reserved.