|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An Order entity represents an order. An order includes one or more order lines, order status, shipping address, shipping cost, price, special instructions, splitting preferences, date of order, payment information, and the customer who placed this order.
OrderPk
,
OrderHome
,
OrderValue
Method Summary | |
boolean |
addOrderLines(OrderLine element)
Adds an order line to the order |
boolean |
addOrderLinesCollection(Collection collection)
Adds all of the elements in the specified collection to this order |
void |
clearOrderLinesCollection()
Removes all the order lines |
boolean |
containsOrderLines(OrderLine element)
Returns true if the specified order line already exists in this order |
boolean |
containsOrderLinesCollection(Collection c)
Returns true if this order contains all of the order line elements in the specified collection |
boolean |
equalsOrderLinesCollection(Object object)
Compares the specified object with the collection of order lines for equality |
Date |
getCreatedDate()
Returns the date of creation of the order. |
Customer |
getCustomer()
Returns the remote object reference of customer |
String |
getIdentifier()
Returns the primary key identifier. |
OrderValue |
getOrderByValue()
Returns an OrderValue object. |
Collection |
getOrderLinesCollection()
Returns a collection of all order lines |
String |
getOrderStatus()
Returns the order status |
PaymentTransaction |
getPaymentTransaction()
Returns the remote object reference of payment transaction |
Money |
getPrice()
Returns the total price of the order |
Money |
getShipping()
Returns the shipping cost on the order |
com.beasys.commerce.axiom.contact.Address |
getShippingAddress()
Returns the shipping address for the order |
String |
getShippingMethod()
Returns a string identifying the shipping method. |
String |
getSpecialInstructions()
Returns special instructions for the order |
String |
getSplittingPreference()
Returns splitting preferences for the order |
double |
getSubtotal()
Get the value of subtotal |
boolean |
isOrderLinesCollectionEmpty()
Returns true if this order has no order lines |
int |
orderLinesCollectionHashCode()
Returns the hash code value for the collection or order lines |
int |
orderLinesCollectionSize()
Returns the number of elements in this collection |
boolean |
removeOrderLines(OrderLine element)
Removes a single instance of the specified order line element from the collection of order lines, if it is present |
boolean |
removeOrderLinesCollection(Collection collection)
Removes all the order lines that are also contained in the specified collection |
boolean |
retainOrderLinesCollection(Collection collection)
Retains only order lines that are also contained in the specified collection |
void |
setCreatedDate(Date createdDate)
Sets the date of creation of the order |
void |
setCustomer(Customer customer)
Sets the remote object reference of customer |
void |
setOrderByValue(OrderValue value)
Set all of Order's attributes to the passed in value. |
void |
setOrderLinesCollection(Collection collection)
Sets a collection of order lines |
void |
setOrderStatus(String orderStatus)
Sets the status of the order |
void |
setPaymentTransaction(PaymentTransaction paymentTransaction)
Sets the remote object reference of payment transaction |
void |
setPrice(Money price)
Sets the total price of the order |
void |
setShipping(Money shipping)
Sets the cost of shipping for the order |
void |
setShippingAddress(com.beasys.commerce.axiom.contact.Address shippingAddress)
Sets the shipping address for the order |
void |
setShippingMethod(String shippingMethod)
Sets the shipping method |
void |
setSpecialInstructions(String specialInstructions)
Sets special instructions for the order |
void |
setSplittingPreference(String splittingPreference)
Sets splitting preferences for the order |
void |
setSubtotal(double subtotal)
Sets the value of subtotal |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference |
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey |
Method Detail |
public boolean addOrderLines(OrderLine element) throws RemoteException
RemoteException
- on remote errorpublic boolean addOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines
RemoteException
- on remote errorpublic void clearOrderLinesCollection() throws RemoteException
RemoteException
- on remote errorpublic boolean containsOrderLines(OrderLine element) throws RemoteException
element
- order line
RemoteException
- on remote errorpublic boolean containsOrderLinesCollection(Collection c) throws RemoteException
c
- order lines
RemoteException
- on remote errorpublic boolean equalsOrderLinesCollection(Object object) throws RemoteException
object
- Object representing a collection of order lines
RemoteException
- on remote errorpublic Date getCreatedDate() throws RemoteException
RemoteException
- on remote errorpublic Customer getCustomer() throws RemoteException
RemoteException
- on remote errorCustomer
public String getIdentifier() throws RemoteException
RemoteException
- on remote errorOrderPk
public OrderValue getOrderByValue() throws RemoteException
RemoteException
- on remote errorpublic Collection getOrderLinesCollection() throws RemoteException
RemoteException
- on remote errorpublic String getOrderStatus() throws RemoteException
RemoteException
- on remote errorpublic PaymentTransaction getPaymentTransaction() throws RemoteException
RemoteException
- on remote errorPaymentTransaction
public Money getPrice() throws RemoteException
RemoteException
- on remote errorpublic Money getShipping() throws RemoteException
RemoteException
- on remote errorpublic com.beasys.commerce.axiom.contact.Address getShippingAddress() throws RemoteException
RemoteException
- on remote errorpublic String getShippingMethod() throws RemoteException
RemoteException
- on remote errorShippingMethod
public String getSpecialInstructions() throws RemoteException
RemoteException
- on remote errorpublic String getSplittingPreference() throws RemoteException
RemoteException
- on remote errorpublic double getSubtotal() throws RemoteException
RemoteException
public boolean isOrderLinesCollectionEmpty() throws RemoteException
RemoteException
- on remote errorpublic int orderLinesCollectionHashCode() throws RemoteException
RemoteException
- on remote errorpublic int orderLinesCollectionSize() throws RemoteException
RemoteException
- on remote errorpublic boolean removeOrderLines(OrderLine element) throws RemoteException
element
- order line to be removed
RemoteException
- on remote errorpublic boolean removeOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines to be removed
RemoteException
- on remote errorpublic boolean retainOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines to be retained
RemoteException
- on remote errorpublic void setCreatedDate(Date createdDate) throws RemoteException
createdDate
- the date of creation of the order
RemoteException
- on remote errorpublic void setCustomer(Customer customer) throws RemoteException
customer
- customer to be added
RemoteException
- on remote errorCustomer
public void setOrderByValue(OrderValue value) throws RemoteException
RemoteException
- on remote errorpublic void setOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines
RemoteException
- on remote errorpublic void setOrderStatus(String orderStatus) throws RemoteException
orderStatus
- order status
RemoteException
- on remote errorpublic void setPaymentTransaction(PaymentTransaction paymentTransaction) throws RemoteException
paymentTransaction
- payment transaction to be added
RemoteException
- on remote errorPaymentTransaction
public void setPrice(Money price) throws RemoteException
price
- the price of the order
RemoteException
- on remote errorpublic void setShipping(Money shipping) throws RemoteException
shipping
- the new shipping costs
RemoteException
- on remote errorpublic void setShippingAddress(com.beasys.commerce.axiom.contact.Address shippingAddress) throws RemoteException
shippingAddress
- shippingAddress to be added
RemoteException
- on remote errorpublic void setShippingMethod(String shippingMethod) throws RemoteException
shippingMethod
- shippingMethod to be added
RemoteException
- on remote errorShippingMethod
public void setSpecialInstructions(String specialInstructions) throws RemoteException
specialInstructions
- special instructions for the order
RemoteException
- on remote errorpublic void setSplittingPreference(String splittingPreference) throws RemoteException
splittingPreference
- splitting preference for the order
RemoteException
- on remote errorpublic void setSubtotal(double subtotal) throws RemoteException
subtotal
- for the order.
RemoteException
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |