com.sun.j2ee.blueprints.petstore.control.event
Class OrderEvent
java.lang.Object
|
+--com.sun.j2ee.blueprints.petstore.control.event.EStoreEventSupport
|
+--com.sun.j2ee.blueprints.petstore.control.event.OrderEvent
- public class OrderEvent
- extends EStoreEventSupport
This event is sent from the web tier to the EJB Controller to notify
the EJB Controller that the user wants to change the Order model
data.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CREATE_ORDER
public static final int CREATE_ORDER
DELETE_ORDER
public static final int DELETE_ORDER
UPDATE_ORDER
public static final int UPDATE_ORDER
OrderEvent
public OrderEvent()
setInfo
public void setInfo(int requestId,
Address shippingAddress,
Address billingAddress,
java.lang.String shipToFirstName,
java.lang.String shipToLastName,
java.lang.String billToFirstName,
java.lang.String billToLastName,
CreditCard creditCard,
java.lang.String carrier,
java.util.Locale locale)
getLocale
public java.util.Locale getLocale()
getActionType
public int getActionType()
getBillingAddress
public Address getBillingAddress()
getShippingAddress
public Address getShippingAddress()
getShipToFirstName
public java.lang.String getShipToFirstName()
getShipToLastName
public java.lang.String getShipToLastName()
getBillToFirstName
public java.lang.String getBillToFirstName()
getBillToLastName
public java.lang.String getBillToLastName()
getCarrier
public java.lang.String getCarrier()
getCreditCard
public CreditCard getCreditCard()
getRequestId
public int getRequestId()
getEventName
public java.lang.String getEventName()
- Description copied from interface: EStoreEvent
- Specifiy a logical name that is mapped to the event in
in the Universal Remote Controller.
- Overrides:
- getEventName in class EStoreEventSupport
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.