Class OrderAttributeImpl
java.lang.Object
org.broadleafcommerce.core.order.domain.OrderAttributeImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<OrderAttribute>,OrderAttribute
The Class OrderAttributeImpl
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends OrderAttribute>
CreateResponse<G>booleangetId()Gets the id.getName()Gets the name.getOrder()Gets the associated order.getValue()Gets the value.inthashCode()voidSets the id.voidSets the name.voidSets the order.voidSets the value.toString()
-
Field Details
-
id
-
name
-
value
The value. -
order
-
-
Constructor Details
-
OrderAttributeImpl
public OrderAttributeImpl()
-
-
Method Details
-
getId
Description copied from interface:OrderAttributeGets the id.- Specified by:
getIdin interfaceOrderAttribute- Returns:
- the id
-
setId
Description copied from interface:OrderAttributeSets the id.- Specified by:
setIdin interfaceOrderAttribute- Parameters:
id- the new id
-
getValue
Description copied from interface:OrderAttributeGets the value.- Specified by:
getValuein interfaceOrderAttribute- Returns:
- the value
-
setValue
Description copied from interface:OrderAttributeSets the value.- Specified by:
setValuein interfaceOrderAttribute- Parameters:
value- the new value
-
getName
Description copied from interface:OrderAttributeGets the name.- Specified by:
getNamein interfaceOrderAttribute- Returns:
- the name
-
setName
Description copied from interface:OrderAttributeSets the name.- Specified by:
setNamein interfaceOrderAttribute- Parameters:
name- the new name
-
toString
-
getOrder
Description copied from interface:OrderAttributeGets the associated order.- Specified by:
getOrderin interfaceOrderAttribute- Returns:
- the order
-
setOrder
Description copied from interface:OrderAttributeSets the order.- Specified by:
setOrderin interfaceOrderAttribute- Parameters:
order- the associated order
-
hashCode
public int hashCode() -
equals
-
createOrRetrieveCopyInstance
public <G extends OrderAttribute> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<OrderAttribute>- Throws:
CloneNotSupportedException
-