Enum Class DocumentAttributeDataType

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

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 Details

    • 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 Details

    • values

      public static DocumentAttributeDataType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DocumentAttributeDataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null