@Entity public class OrderItemAttributeImpl extends Object implements OrderItemAttribute
OrderItemAttribute,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
static org.apache.commons.logging.Log |
LOG |
protected String |
name |
protected OrderItem |
orderItem |
protected String |
value |
| Constructor and Description |
|---|
OrderItemAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
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()
The name
|
OrderItem |
getOrderItem()
Gets the parent orderItem
|
String |
getValue()
The value
|
int |
hashCode() |
void |
setId(Long id)
Sets the id.
|
void |
setName(String name)
The name
|
void |
setOrderItem(OrderItem orderItem)
Sets the orderItem.
|
void |
setValue(String value)
The value
|
String |
toString() |
public static final org.apache.commons.logging.Log LOG
protected Long id
protected String name
protected String value
protected OrderItem orderItem
public Long getId()
OrderItemAttributegetId in interface OrderItemAttributepublic void setId(Long id)
OrderItemAttributesetId in interface OrderItemAttributeid - the new idpublic String getValue()
ValueAssignablegetValue in interface ValueAssignable<String>public void setValue(String value)
ValueAssignablesetValue in interface ValueAssignable<String>value - The valuepublic String getName()
ValueAssignablegetName in interface ValueAssignable<String>public void setName(String name)
ValueAssignablesetName in interface ValueAssignable<String>name - The namepublic OrderItem getOrderItem()
OrderItemAttributegetOrderItem in interface OrderItemAttributepublic void setOrderItem(OrderItem orderItem)
OrderItemAttributesetOrderItem in interface OrderItemAttributeorderItem - the associated orderItempublic void checkCloneable(OrderItemAttribute itemAttribute) throws CloneNotSupportedException, SecurityException, NoSuchMethodException
public OrderItemAttribute clone()
OrderItemAttributeclone in interface OrderItemAttributeclone in class ObjectCopyright © 2017. All rights reserved.