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:
com.google.gwt.user.client.rpc.IsSerializable, Serializable, Comparable<SupportedFieldType>

public enum SupportedFieldType
extends Enum<SupportedFieldType>
implements com.google.gwt.user.client.rpc.IsSerializable

Author:
jfischer

Enum Constant Summary
ADDITIONAL_FOREIGN_KEY
           
ASSET
           
ASSET_URL
           
BOOLEAN
           
BROADLEAF_ENUMERATION
           
DATA_DRIVEN_ENUMERATION
           
DATE
           
DECIMAL
           
EMAIL
           
EMPTY_ENUMERATION
           
EXPLICIT_ENUMERATION
           
FOREIGN_KEY
           
HIDDEN
           
HTML
           
HTML_BASIC
           
ID
           
INTEGER
           
MONEY
           
PASSWORD
           
STRING
           
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

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

public static final SupportedFieldType ASSET

ASSET_URL

public static final SupportedFieldType ASSET_URL
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.