[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

DeliveryChoice

inherits from Object
inherits from HasServiceChoice

Object <- DeliveryChoice



Operations

Get list of all operations

Class DeliveryChoice defines no new operations.


Attributes

Get list of all attributes

AddressLabel
Image
IsValid
Means
Recipient


Fields

Field Type
DeliveryChoice: serviceChoice: ServiceChoice
addressLabel: AddressInfo
recipient: SimpleContact


Instance template

instance DeliveryChoice tag;
  serviceChoice: nilObject;
   addressLabel: nilObject;
      recipient: nilObject;
end instance;

Class definition

Define Class DeliveryChoice;
    inherits from Object;
    inherits from HasServiceChoice;

    field serviceChoice:        ServiceChoice, getter, setter;
        // the service that this message will be sent through
    field addressLabel:         AddressInfo, getter, setter;
        // the address label off the recipient's card that determines the destination address
    field recipient:            SimpleContact, getter, sharedSetter;
        // the contact of the recipient of this message

    attribute AddressLabel:     AddressInfo;
    attribute Recipient:        SimpleContact;

    attribute Means:            Means;
        // medium over which the message will be sent.  Calls Means on the serviceChoice.
    attribute Image:            Image, readOnly;
        // the image that gets displayed on the postage display to represent this delivery choice.
        // Calls PostageImage on the serviceChoice.
    
    overrides IsValid;
        // Make sure the delivery choice contains valid information for sending.
end class;