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 boolean
boolean
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information 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.int
hashCode()
void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
setFields
(List<ThemeField> fields) The fields in this group.void
A unique id for the field.void
The friendly display label for this fieldvoid
A 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 ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information 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 ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-