wt.wrmf.delivery
Class DeliveryServiceEvent

java.lang.Object
  extended bywt.events.KeyedEvent
      extended bywt.wrmf.delivery.DeliveryServiceEvent
All Implemented Interfaces:
Serializable

public class DeliveryServiceEvent
extends KeyedEvent
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String DELIVERY_COMPLETE
          This event used to notify listeners that a new shippingitem has been successfully sent

Supported API: false
static String DELIVERY_FAILED
          This event used to notify listeners that the shippingitem has been unsuccessfully sent

Supported API: false
static String PRE_SEND
          This event used to notify listeners that a new shippingitem is about to be sent

Supported API: false
private static String RESOURCE
           
private  ShippingService shippingService
           
private static String versionID
           
 
Fields inherited from class wt.events.KeyedEvent
 
Constructor Summary
DeliveryServiceEvent(ShippingService service, String eventType, ShippingItem target)
          

Supported API: false
DeliveryServiceEvent(String eventType, Object target)
          Constructs single or multi object DeliveryServiceEvent

Supported API: false
DeliveryServiceEvent(String eventType, ShippingItem target)
          

Supported API: false
 
Method Summary
static String generateEventKey(String eventType)
          

Supported API: false
 ShippingService getShippingService()
          Gets the value of the attribute: shippingService; Theshipping service that emits events.
 ShippingItem getTarget()
          

Supported API: false
 WTCollection getTargets()
          Returns collection of target objects

Supported API: false
 void setShippingService(ShippingService a_ShippingService)
          Sets the value of the attribute: shippingService; Theshipping service that emits events.
 
Methods inherited from class wt.events.KeyedEvent
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toMultiObjectEvent, toSingleObjectEvents, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

PRE_SEND

public static final String PRE_SEND
This event used to notify listeners that a new shippingitem is about to be sent

Supported API: false

See Also:
Constant Field Values

DELIVERY_FAILED

public static final String DELIVERY_FAILED
This event used to notify listeners that the shippingitem has been unsuccessfully sent

Supported API: false

See Also:
Constant Field Values

DELIVERY_COMPLETE

public static final String DELIVERY_COMPLETE
This event used to notify listeners that a new shippingitem has been successfully sent

Supported API: false

See Also:
Constant Field Values

shippingService

private ShippingService shippingService

versionID

private static final String versionID
See Also:
Constant Field Values
Constructor Detail

DeliveryServiceEvent

public DeliveryServiceEvent(String eventType,
                            ShippingItem target)


Supported API: false

Parameters:
eventType -
target -

DeliveryServiceEvent

public DeliveryServiceEvent(String eventType,
                            Object target)
Constructs single or multi object DeliveryServiceEvent

Supported API: false

Parameters:
eventType -
target -

DeliveryServiceEvent

public DeliveryServiceEvent(ShippingService service,
                            String eventType,
                            ShippingItem target)


Supported API: false

Parameters:
service -
eventType -
target -
Method Detail

getShippingService

public ShippingService getShippingService()
Gets the value of the attribute: shippingService; Theshipping service that emits events.

Supported API: false

Returns:
ShippingService

setShippingService

public void setShippingService(ShippingService a_ShippingService)
                        throws WTPropertyVetoException
Sets the value of the attribute: shippingService; Theshipping service that emits events.

Supported API: false

Parameters:
a_ShippingService -
Throws:
WTPropertyVetoException

generateEventKey

public static String generateEventKey(String eventType)


Supported API: false

Parameters:
eventType -
Returns:
String

getTarget

public ShippingItem getTarget()


Supported API: false

Returns:
ShippingItem

getTargets

public WTCollection getTargets()
Returns collection of target objects

Supported API: false

Returns:
WTCollection