|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.order.domain.OrderItemAttributeImpl
@Entity public class OrderItemAttributeImpl
Arbitrary attributes to add to an order-item.
OrderItemAttribute,
Serialized Form| Field Summary | |
|---|---|
protected Long |
id
|
static org.apache.commons.logging.Log |
LOG
|
protected String |
name
|
protected OrderItem |
orderItem
|
protected String |
value
|
| Constructor Summary | |
|---|---|
OrderItemAttributeImpl()
|
|
| Method Summary | |
|---|---|
void |
checkCloneable(OrderItemAttribute itemAttribute)
|
OrderItemAttribute |
clone()
Provide support for a deep copy of an order item. |
boolean |
equals(Object obj)
|
Long |
getId()
Gets the id. |
String |
getName()
Gets the name. |
OrderItem |
getOrderItem()
Gets the parent orderItem |
String |
getValue()
Gets the value. |
int |
hashCode()
|
void |
setId(Long id)
Sets the id. |
void |
setName(String name)
Sets the name. |
void |
setOrderItem(OrderItem orderItem)
Sets the orderItem. |
void |
setValue(String value)
Sets the value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOG
protected Long id
protected String name
protected String value
protected OrderItem orderItem
| Constructor Detail |
|---|
public OrderItemAttributeImpl()
| Method Detail |
|---|
public Long getId()
OrderItemAttribute
getId in interface OrderItemAttributepublic void setId(Long id)
OrderItemAttribute
setId in interface OrderItemAttributeid - the new idpublic String getValue()
OrderItemAttribute
getValue in interface OrderItemAttributepublic void setValue(String value)
OrderItemAttribute
setValue in interface OrderItemAttributevalue - the new valuepublic String getName()
OrderItemAttribute
getName in interface OrderItemAttributepublic void setName(String name)
OrderItemAttribute
setName in interface OrderItemAttributename - the new namepublic String toString()
toString in class Objectpublic OrderItem getOrderItem()
OrderItemAttribute
getOrderItem in interface OrderItemAttributepublic void setOrderItem(OrderItem orderItem)
OrderItemAttribute
setOrderItem in interface OrderItemAttributeorderItem - the associated orderItem
public void checkCloneable(OrderItemAttribute itemAttribute)
throws CloneNotSupportedException,
SecurityException,
NoSuchMethodException
CloneNotSupportedException
SecurityException
NoSuchMethodExceptionpublic OrderItemAttribute clone()
OrderItemAttribute
clone in interface OrderItemAttributeclone in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||