org.broadleafcommerce.cms.field.type
Class FieldType

java.lang.Object
  extended by org.broadleafcommerce.cms.field.type.FieldType
All Implemented Interfaces:
Serializable

public class FieldType
extends Object
implements Serializable

Supported field types within the Broadleaf CMS admin.

Author:
bpolster
See Also:
Serialized Form

Field Summary
static FieldType BOOLEAN
           
static FieldType DATE
           
static FieldType DECIMAL
           
static FieldType ENUMERATION
           
static FieldType HTML
           
static FieldType INTEGER
           
static FieldType RICH_TEXT
           
static FieldType STRING
           
static FieldType TIME
           
 
Constructor Summary
FieldType()
           
FieldType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static FieldType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOLEAN

public static final FieldType BOOLEAN

DATE

public static final FieldType DATE

TIME

public static final FieldType TIME

INTEGER

public static final FieldType INTEGER

DECIMAL

public static final FieldType DECIMAL

STRING

public static final FieldType STRING

RICH_TEXT

public static final FieldType RICH_TEXT

HTML

public static final FieldType HTML

ENUMERATION

public static final FieldType ENUMERATION
Constructor Detail

FieldType

public FieldType()

FieldType

public FieldType(String type,
                 String friendlyType)
Method Detail

getInstance

public static FieldType getInstance(String type)

getType

public String getType()

getFriendlyType

public String getFriendlyType()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.