org.kuali.rice.kew.api.document.attribute
Enum DocumentAttributeDataType

java.lang.Object
  extended by java.lang.Enum<DocumentAttributeDataType>
      extended by org.kuali.rice.kew.api.document.attribute.DocumentAttributeDataType
All Implemented Interfaces:
Serializable, Comparable<DocumentAttributeDataType>

public enum DocumentAttributeDataType
extends Enum<DocumentAttributeDataType>

Defines the valid data types for implementations of the DocumentAttributeContract.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Enum Constant Summary
DATE_TIME
          Indicates a document attribute which holds date and (optional) time information.
DECIMAL
          Indicates a document attribute which holds a real number.
INTEGER
          Indicates a document attribute which holds an integer value.
STRING
          Indicates a document attribute which holds character data.
 
Method Summary
static DocumentAttributeDataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DocumentAttributeDataType[] 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 DocumentAttributeDataType STRING
Indicates a document attribute which holds character data.


DATE_TIME

public static final DocumentAttributeDataType DATE_TIME
Indicates a document attribute which holds date and (optional) time information.


INTEGER

public static final DocumentAttributeDataType INTEGER
Indicates a document attribute which holds an integer value.


DECIMAL

public static final DocumentAttributeDataType DECIMAL
Indicates a document attribute which holds a real number.

Method Detail

values

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

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

valueOf

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


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.