public class DynamicSupportedFieldType extends Object implements Serializable, BroadleafEnumerationType
SupportedFieldType and will
throw an exception if a non-matching type is added.| Modifier and Type | Field and Description |
|---|---|
static DynamicSupportedFieldType |
ASSET_LOOKUP |
static DynamicSupportedFieldType |
CATEGORY_LOOKUP |
static DynamicSupportedFieldType |
COLOR |
static DynamicSupportedFieldType |
DATE |
static DynamicSupportedFieldType |
HTML |
static DynamicSupportedFieldType |
MONEY |
static DynamicSupportedFieldType |
PRODUCT_LOOKUP |
static DynamicSupportedFieldType |
STRING |
| Constructor and Description |
|---|
DynamicSupportedFieldType() |
DynamicSupportedFieldType(String type,
String friendlyType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFriendlyType() |
static DynamicSupportedFieldType |
getInstance(String type) |
String |
getType() |
static List<DynamicSupportedFieldType> |
getTypes() |
int |
hashCode() |
static void |
verifyLegalType(String type) |
public static final DynamicSupportedFieldType STRING
public static final DynamicSupportedFieldType HTML
public static final DynamicSupportedFieldType MONEY
public static final DynamicSupportedFieldType COLOR
public static final DynamicSupportedFieldType ASSET_LOOKUP
public static final DynamicSupportedFieldType PRODUCT_LOOKUP
public static final DynamicSupportedFieldType CATEGORY_LOOKUP
public static final DynamicSupportedFieldType DATE
public static DynamicSupportedFieldType getInstance(String type)
public static void verifyLegalType(String type)
type - IllegalArgumentException - when the given type does not exist in SupportedFieldTypepublic static List<DynamicSupportedFieldType> getTypes()
DynamicSupportedFieldTypes.public String getType()
getType in interface BroadleafEnumerationTypepublic String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypeCopyright © 2018. All rights reserved.