org.broadleafcommerce.common.presentation.client
Enum SupportedFieldType

java.lang.Object
  extended by java.lang.Enum<SupportedFieldType>
      extended by org.broadleafcommerce.common.presentation.client.SupportedFieldType
All Implemented Interfaces:
Serializable, Comparable<SupportedFieldType>

public enum SupportedFieldType
extends Enum<SupportedFieldType>

Author:
jfischer

Enum Constant Summary
ADDITIONAL_FOREIGN_KEY
           
ASSET_LOOKUP
           
ASSET_URL
           
BOOLEAN
           
BROADLEAF_ENUMERATION
           
COLOR
           
DATA_DRIVEN_ENUMERATION
           
DATE
           
DECIMAL
           
EMAIL
           
EMPTY_ENUMERATION
           
EXPLICIT_ENUMERATION
           
FOREIGN_KEY
           
HIDDEN
           
HTML
           
HTML_BASIC
           
ID
           
IMAGE
           
INTEGER
           
MEDIA
           
MONEY
           
PASSWORD
           
PASSWORD_CONFIRM
           
RULE_SIMPLE
           
RULE_WITH_QUANTITY
           
STRING
           
STRING_LIST
           
UNKNOWN
           
UPLOAD
           
 
Method Summary
static SupportedFieldType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SupportedFieldType[] 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

UNKNOWN

public static final SupportedFieldType UNKNOWN

ID

public static final SupportedFieldType ID

BOOLEAN

public static final SupportedFieldType BOOLEAN

DATE

public static final SupportedFieldType DATE

INTEGER

public static final SupportedFieldType INTEGER

DECIMAL

public static final SupportedFieldType DECIMAL

STRING

public static final SupportedFieldType STRING

PASSWORD

public static final SupportedFieldType PASSWORD

PASSWORD_CONFIRM

public static final SupportedFieldType PASSWORD_CONFIRM

EMAIL

public static final SupportedFieldType EMAIL

FOREIGN_KEY

public static final SupportedFieldType FOREIGN_KEY

ADDITIONAL_FOREIGN_KEY

public static final SupportedFieldType ADDITIONAL_FOREIGN_KEY

MONEY

public static final SupportedFieldType MONEY

BROADLEAF_ENUMERATION

public static final SupportedFieldType BROADLEAF_ENUMERATION

EXPLICIT_ENUMERATION

public static final SupportedFieldType EXPLICIT_ENUMERATION

EMPTY_ENUMERATION

public static final SupportedFieldType EMPTY_ENUMERATION

DATA_DRIVEN_ENUMERATION

public static final SupportedFieldType DATA_DRIVEN_ENUMERATION

HTML

public static final SupportedFieldType HTML

HTML_BASIC

public static final SupportedFieldType HTML_BASIC

UPLOAD

public static final SupportedFieldType UPLOAD

HIDDEN

public static final SupportedFieldType HIDDEN

ASSET_URL

public static final SupportedFieldType ASSET_URL

ASSET_LOOKUP

public static final SupportedFieldType ASSET_LOOKUP

MEDIA

public static final SupportedFieldType MEDIA

RULE_SIMPLE

public static final SupportedFieldType RULE_SIMPLE

RULE_WITH_QUANTITY

public static final SupportedFieldType RULE_WITH_QUANTITY

STRING_LIST

public static final SupportedFieldType STRING_LIST

IMAGE

public static final SupportedFieldType IMAGE

COLOR

public static final SupportedFieldType COLOR
Method Detail

values

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

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

valueOf

public static SupportedFieldType 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 © 2013. All Rights Reserved.