org.broadleafcommerce.cms.structure.domain
Class StructuredContentItemCriteriaImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.structure.domain.StructuredContentItemCriteriaImpl
All Implemented Interfaces:
Serializable, StructuredContentItemCriteria, QuantityBasedRule

@Entity
public class StructuredContentItemCriteriaImpl
extends Object
implements StructuredContentItemCriteria

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  Long id
           
protected  String orderItemMatchRule
           
protected  Integer quantity
           
static long serialVersionUID
           
protected  StructuredContent structuredContent
           
 
Constructor Summary
StructuredContentItemCriteriaImpl()
           
 
Method Summary
 StructuredContentItemCriteria cloneEntity()
          Builds a copy of this item.
 boolean equals(Object obj)
           
 Long getId()
           
 String getMatchRule()
           
 Integer getQuantity()
           
 StructuredContent getStructuredContent()
          Returns the parent StructuredContent item to which this field belongs.
 int hashCode()
           
 void setId(Long id)
           
 void setMatchRule(String matchRule)
           
 void setQuantity(Integer receiveQuantity)
           
 void setStructuredContent(StructuredContent structuredContent)
          Sets the parent StructuredContent item.
 
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

structuredContent

protected StructuredContent structuredContent
Constructor Detail

StructuredContentItemCriteriaImpl

public StructuredContentItemCriteriaImpl()
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

getStructuredContent

public StructuredContent getStructuredContent()
Description copied from interface: StructuredContentItemCriteria
Returns the parent StructuredContent item to which this field belongs.

Specified by:
getStructuredContent in interface StructuredContentItemCriteria
Returns:

setStructuredContent

public void setStructuredContent(StructuredContent structuredContent)
Description copied from interface: StructuredContentItemCriteria
Sets the parent StructuredContent item.

Specified by:
setStructuredContent in interface StructuredContentItemCriteria

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

cloneEntity

public StructuredContentItemCriteria cloneEntity()
Description copied from interface: StructuredContentItemCriteria
Builds a copy of this item. Used by the content management system when an item is edited.

Specified by:
cloneEntity in interface StructuredContentItemCriteria
Returns:
a copy of this item


Copyright © 2013. All Rights Reserved.