Class ThemeField
java.lang.Object
com.broadleafcommerce.content.domain.ThemeField
- All Implemented Interfaces:
 com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class ThemeField
extends Object
implements com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable
Represents the definition for a 
ThemeField. This includes the fields type and
 value.- Author:
 - Jon Fleschler (jfleschler)
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionThemeField(String id, String label, String name, ThemeFieldGroup fieldGroup, String type, Object value, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.The group this field belongs to.getId()A unique id for the field.getLabel()The friendly display label for this fieldgetName()A unique name for the field, used for retrieval.getType()The type of this content fieldgetValue()The field's valueinthashCode()voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetFieldGroup(ThemeFieldGroup fieldGroup) The group this field belongs to.voidA unique id for the field.voidThe friendly display label for this fieldvoidA unique name for the field, used for retrieval.voidThe type of this content fieldvoidThe field's valuetoString() 
- 
Constructor Details
- 
ThemeField
public ThemeField() - 
ThemeField
 
 - 
 - 
Method Details
- 
getId
A unique id for the field.- Returns:
 - the unique id for the field
 
 - 
getLabel
The friendly display label for this field- Returns:
 - a friendly display label for this field
 
 - 
getName
A unique name for the field, used for retrieval.- Returns:
 - a unique name for the field, used for retrieval
 
 - 
getFieldGroup
The group this field belongs to.- Returns:
 - the group this field belongs to
 
 - 
getType
The type of this content field- Returns:
 - the type of this field
 
 - 
getValue
The field's value- Returns:
 - the field's value
 
 - 
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
 getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Returns:
 - a subset of 
Trackinginformation to expose the context state for this object 
 - 
setId
A unique id for the field.- Parameters:
 id- the unique id for the field
 - 
setLabel
The friendly display label for this field- Parameters:
 label- a friendly display label for this field
 - 
setName
A unique name for the field, used for retrieval.- Parameters:
 name- a unique name for the field, used for retrieval
 - 
setFieldGroup
The group this field belongs to.- Parameters:
 fieldGroup- the group this field belongs to
 - 
setType
The type of this content field- Parameters:
 type- the type of this field
 - 
setValue
The field's value- Parameters:
 value- the field's value
 - 
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
 setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Parameters:
 contextState- a subset ofTrackinginformation to expose the context state for this object
 - 
equals
 - 
canEqual
 - 
hashCode
public int hashCode() - 
toString
 
 -