org.broadleafcommerce.cms.page.domain
Class PageItemCriteriaImpl
java.lang.Object
org.broadleafcommerce.cms.page.domain.PageItemCriteriaImpl
- All Implemented Interfaces:
- Serializable, PageItemCriteria, QuantityBasedRule
@Entity
public class PageItemCriteriaImpl
- extends Object
- implements PageItemCriteria
- Author:
- bpolster
- See Also:
- Serialized Form
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
id
protected Long id
quantity
protected Integer quantity
orderItemMatchRule
protected String orderItemMatchRule
page
protected Page page
PageItemCriteriaImpl
public PageItemCriteriaImpl()
getId
public Long getId()
- Specified by:
getId in interface QuantityBasedRule
setId
public void setId(Long id)
- Specified by:
setId in interface QuantityBasedRule
getQuantity
public Integer getQuantity()
- Specified by:
getQuantity in interface QuantityBasedRule
setQuantity
public void setQuantity(Integer receiveQuantity)
- Specified by:
setQuantity in interface QuantityBasedRule
getMatchRule
public String getMatchRule()
- Specified by:
getMatchRule in interface QuantityBasedRule
setMatchRule
public void setMatchRule(String matchRule)
- Specified by:
setMatchRule in interface QuantityBasedRule
getPage
public Page getPage()
- Description copied from interface:
PageItemCriteria
- Returns the parent
Page to which this
field belongs.
- Specified by:
getPage in interface PageItemCriteria
- Returns:
setPage
public void setPage(Page page)
- Description copied from interface:
PageItemCriteria
- Sets the parent
Page.
- Specified by:
setPage in interface PageItemCriteria
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
cloneEntity
public PageItemCriteria cloneEntity()
- Description copied from interface:
PageItemCriteria
- Builds a copy of this item. Used by the content management system when an
item is edited.
- Specified by:
cloneEntity in interface PageItemCriteria
- Returns:
- a copy of this item
Copyright © 2013. All Rights Reserved.