org.broadleafcommerce.cms.page.domain
Class PageItemCriteriaImpl

java.lang.Object
  extended by 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

Field Summary
protected  Long id
           
protected  String orderItemMatchRule
           
protected  Page page
           
protected  Integer quantity
           
static long serialVersionUID
           
 
Constructor Summary
PageItemCriteriaImpl()
           
 
Method Summary
 PageItemCriteria cloneEntity()
          Builds a copy of this item.
 boolean equals(Object obj)
           
 Long getId()
           
 String getMatchRule()
           
 Page getPage()
          Returns the parent Page to which this field belongs.
 Integer getQuantity()
           
 int hashCode()
           
 void setId(Long id)
           
 void setMatchRule(String matchRule)
           
 void setPage(Page page)
          Sets the parent Page.
 void setQuantity(Integer receiveQuantity)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

PageItemCriteriaImpl

public PageItemCriteriaImpl()
Method Detail

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.