Class ThemeFieldGroup
java.lang.Object
com.broadleafcommerce.content.domain.ThemeFieldGroup
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class ThemeFieldGroup
extends Object
implements com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable
Represents the definition for a grouping of
ThemeField.- Author:
- Jon Fleschler (jfleschler)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThemeFieldGroup(String id, String label, String name, List<ThemeField> fields, 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 fields in this group.getId()A unique id for the field.getLabel()The friendly display label for this fieldgetName()A unique name for the field, used for retrieval.inthashCode()voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetFields(List<ThemeField> fields) The fields in this group.voidA unique id for the field.voidThe friendly display label for this fieldvoidA unique name for the field, used for retrieval.toString()
-
Constructor Details
-
ThemeFieldGroup
public ThemeFieldGroup() -
ThemeFieldGroup
public ThemeFieldGroup(String id, String label, String name, List<ThemeField> fields, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
-
-
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
-
getFields
The fields in this group.- Returns:
- the fields in this group
-
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
-
setFields
The fields in this group.- Parameters:
fields- the fields in this group
-
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
-