com.ibm.pim.attribute
Enum AttributeDefinition.Type

java.lang.Object
  extended by java.lang.Enum<AttributeDefinition.Type>
      extended by com.ibm.pim.attribute.AttributeDefinition.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AttributeDefinition.Type>
Enclosing interface:
AttributeDefinition

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

Attribute definition types. These types have 1 to 1 mapping to the types displayed on the product UI.


Enum Constant Summary
BINARY
           
CATEGORY
           
CURRENCY
           
DATE
           
FLAG
           
GROUPING
           
IMAGE
           
IMAGE_URL
           
INTEGER
           
LONG_TEXT
           
LOOKUP_TABLE
           
NUMBER
           
NUMBER_ENUMERATION
           
PASSWORD
           
RELATIONSHIP
           
SEQUENCE
           
STRING
           
STRING_ENUMERATION
           
THUMBNAIL_IMAGE
           
THUMBNAIL_IMAGE_URL
           
TIMEZONE
           
URL
           
 
Method Summary
static AttributeDefinition.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AttributeDefinition.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BINARY

public static final AttributeDefinition.Type BINARY

CATEGORY

public static final AttributeDefinition.Type CATEGORY

CURRENCY

public static final AttributeDefinition.Type CURRENCY

DATE

public static final AttributeDefinition.Type DATE

TIMEZONE

public static final AttributeDefinition.Type TIMEZONE

FLAG

public static final AttributeDefinition.Type FLAG

GROUPING

public static final AttributeDefinition.Type GROUPING

IMAGE

public static final AttributeDefinition.Type IMAGE

IMAGE_URL

public static final AttributeDefinition.Type IMAGE_URL

INTEGER

public static final AttributeDefinition.Type INTEGER

LOOKUP_TABLE

public static final AttributeDefinition.Type LOOKUP_TABLE

NUMBER

public static final AttributeDefinition.Type NUMBER

NUMBER_ENUMERATION

public static final AttributeDefinition.Type NUMBER_ENUMERATION

PASSWORD

public static final AttributeDefinition.Type PASSWORD

RELATIONSHIP

public static final AttributeDefinition.Type RELATIONSHIP

SEQUENCE

public static final AttributeDefinition.Type SEQUENCE

STRING

public static final AttributeDefinition.Type STRING

STRING_ENUMERATION

public static final AttributeDefinition.Type STRING_ENUMERATION

THUMBNAIL_IMAGE

public static final AttributeDefinition.Type THUMBNAIL_IMAGE

THUMBNAIL_IMAGE_URL

public static final AttributeDefinition.Type THUMBNAIL_IMAGE_URL

URL

public static final AttributeDefinition.Type URL

LONG_TEXT

public static final AttributeDefinition.Type LONG_TEXT
Method Detail

values

public static final AttributeDefinition.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AttributeDefinition.Type c : AttributeDefinition.Type.values())
        System.out.println(c);

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

valueOf

public static AttributeDefinition.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