org.broadleafcommerce.cms.structure.domain
Class StructuredContentItemCriteriaImpl

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

@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()
          Gets the primary key.
 String getOrderItemMatchRule()
          Returns the MVEL rule to apply against an order to determine if this content should be displayed.
 Integer getQuantity()
           
 StructuredContent getStructuredContent()
          Returns the parent StructuredContent item to which this field belongs.
 int hashCode()
           
 void setId(Long id)
          Sets the primary key.
 void setOrderItemMatchRule(String orderItemMatchRule)
          An valid MVEL syntax rule to be used to process the
 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()
Description copied from interface: StructuredContentItemCriteria
Gets the primary key.

Specified by:
getId in interface StructuredContentItemCriteria
Returns:
the primary key

setId

public void setId(Long id)
Description copied from interface: StructuredContentItemCriteria
Sets the primary key.

Specified by:
setId in interface StructuredContentItemCriteria
Parameters:
id - the new primary key

getQuantity

public Integer getQuantity()
Specified by:
getQuantity in interface StructuredContentItemCriteria
Returns:

setQuantity

public void setQuantity(Integer receiveQuantity)
Specified by:
setQuantity in interface StructuredContentItemCriteria

getOrderItemMatchRule

public String getOrderItemMatchRule()
Description copied from interface: StructuredContentItemCriteria
Returns the MVEL rule to apply against an order to determine if this content should be displayed.

Specified by:
getOrderItemMatchRule in interface StructuredContentItemCriteria
Returns:
the rule as an MVEL string

setOrderItemMatchRule

public void setOrderItemMatchRule(String orderItemMatchRule)
Description copied from interface: StructuredContentItemCriteria
An valid MVEL syntax rule to be used to process the

Specified by:
setOrderItemMatchRule in interface StructuredContentItemCriteria

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 © 2011. All Rights Reserved.