org.broadleafcommerce.core.order.domain
Class OrderAttributeImpl

java.lang.Object
  extended by org.broadleafcommerce.core.order.domain.OrderAttributeImpl
All Implemented Interfaces:
Serializable, OrderAttribute

@Entity
public class OrderAttributeImpl
extends Object
implements OrderAttribute

The Class OrderAttributeImpl

See Also:
OrderAttribute, Serialized Form

Field Summary
protected  Long id
           
protected  String name
           
protected  Order order
           
protected  String value
          The value.
 
Constructor Summary
OrderAttributeImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getId()
          Gets the id.
 String getName()
          Gets the name.
 Order getOrder()
          Gets the associated order.
 String getValue()
          Gets the value.
 int hashCode()
           
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setOrder(Order order)
          Sets the order.
 void setValue(String value)
          Sets the value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected Long id

name

protected String name

value

protected String value
The value.


order

protected Order order
Constructor Detail

OrderAttributeImpl

public OrderAttributeImpl()
Method Detail

getId

public Long getId()
Description copied from interface: OrderAttribute
Gets the id.

Specified by:
getId in interface OrderAttribute
Returns:
the id

setId

public void setId(Long id)
Description copied from interface: OrderAttribute
Sets the id.

Specified by:
setId in interface OrderAttribute
Parameters:
id - the new id

getValue

public String getValue()
Description copied from interface: OrderAttribute
Gets the value.

Specified by:
getValue in interface OrderAttribute
Returns:
the value

setValue

public void setValue(String value)
Description copied from interface: OrderAttribute
Sets the value.

Specified by:
setValue in interface OrderAttribute
Parameters:
value - the new value

getName

public String getName()
Description copied from interface: OrderAttribute
Gets the name.

Specified by:
getName in interface OrderAttribute
Returns:
the name

setName

public void setName(String name)
Description copied from interface: OrderAttribute
Sets the name.

Specified by:
setName in interface OrderAttribute
Parameters:
name - the new name

toString

public String toString()
Overrides:
toString in class Object

getOrder

public Order getOrder()
Description copied from interface: OrderAttribute
Gets the associated order.

Specified by:
getOrder in interface OrderAttribute
Returns:
the order

setOrder

public void setOrder(Order order)
Description copied from interface: OrderAttribute
Sets the order.

Specified by:
setOrder in interface OrderAttribute
Parameters:
order - the associated order

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2012. All Rights Reserved.