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 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

      public String getId()
      A unique id for the field.
      Returns:
      the unique id for the field
    • getLabel

      public String getLabel()
      The friendly display label for this field
      Returns:
      a friendly display label for this field
    • getName

      public String getName()
      A unique name for the field, used for retrieval.
      Returns:
      a unique name for the field, used for retrieval
    • getFields

      public List<ThemeField> 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 of Tracking information to expose the context state for this object.
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Returns:
      a subset of Tracking information to expose the context state for this object
    • setId

      public void setId(String id)
      A unique id for the field.
      Parameters:
      id - the unique id for the field
    • setLabel

      public void setLabel(String label)
      The friendly display label for this field
      Parameters:
      label - a friendly display label for this field
    • setName

      public void setName(String name)
      A unique name for the field, used for retrieval.
      Parameters:
      name - a unique name for the field, used for retrieval
    • setFields

      public void setFields(List<ThemeField> fields)
      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 of Tracking information to expose the context state for this object.
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Parameters:
      contextState - a subset of Tracking information to expose the context state for this object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object