Class PageAttributeImpl

java.lang.Object
org.broadleafcommerce.cms.page.domain.PageAttributeImpl
All Implemented Interfaces:
Serializable, PageAttribute, org.broadleafcommerce.common.copy.MultiTenantCloneable<PageAttribute>, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity, org.broadleafcommerce.common.value.ValueAssignable<String>

@Entity public class PageAttributeImpl extends Object implements PageAttribute, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
See Also:
  • Field Details

    • id

      protected Long id
    • name

      protected String name
    • value

      protected String value
    • page

      protected Page page
  • Constructor Details

    • PageAttributeImpl

      public PageAttributeImpl()
  • Method Details

    • getId

      public Long getId()
      Description copied from interface: PageAttribute
      Returns the id
      Specified by:
      getId in interface PageAttribute
      Returns:
      the id
    • setId

      public void setId(Long id)
      Description copied from interface: PageAttribute
      Sets the id
      Specified by:
      setId in interface PageAttribute
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.broadleafcommerce.common.value.ValueAssignable<String>
    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface org.broadleafcommerce.common.value.ValueAssignable<String>
    • getName

      public String getName()
      Specified by:
      getName in interface org.broadleafcommerce.common.value.ValueAssignable<String>
    • setName

      public void setName(String name)
      Specified by:
      setName in interface org.broadleafcommerce.common.value.ValueAssignable<String>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPage

      public Page getPage()
      Description copied from interface: PageAttribute
      Returns the Page
      Specified by:
      getPage in interface PageAttribute
      Returns:
      the Page
    • setPage

      public void setPage(Page page)
      Description copied from interface: PageAttribute
      Sets the Page
      Specified by:
      setPage in interface PageAttribute
    • hashCode

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

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

      public <G extends PageAttribute> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
      Specified by:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<PageAttribute>
      Throws:
      CloneNotSupportedException