public class BaseDelivery extends Object implements org.sakaiproject.courier.api.Delivery
BaseDelivery is a base class for all Delivery objects.
| Modifier and Type | Field and Description |
|---|---|
protected String |
m_address
The address.
|
protected String |
m_elementId
The elementId.
|
| Constructor and Description |
|---|
BaseDelivery(String address,
String elementId)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
void |
act()
Perform any pre-delivery actions.
|
String |
compose()
Compose a javascript message for delivery to the browser client window.
|
boolean |
equals(Object obj)
Are these the same?
|
String |
getAddress()
Access the delivery address.
|
String |
getElement()
Access the HTML Element Id that this delivery is in reference to.
|
int |
hashCode() |
void |
setAddress(String address)
Set the delivery address.
|
void |
setElement(String id)
Set the HTML Element Id that this delivery is in reference to.
|
String |
toString()
Display.
|
protected String m_address
protected String m_elementId
public void setAddress(String address)
setAddress in interface org.sakaiproject.courier.api.Deliveryaddress - The delivery address.public String getAddress()
getAddress in interface org.sakaiproject.courier.api.Deliverypublic void setElement(String id)
setElement in interface org.sakaiproject.courier.api.Deliveryid - The HTML Element Id that this delivery is in reference to.public String getElement()
getElement in interface org.sakaiproject.courier.api.Deliverypublic void act()
act in interface org.sakaiproject.courier.api.Deliverypublic String compose()
compose in interface org.sakaiproject.courier.api.Deliverypublic boolean equals(Object obj)
public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2003-2015 The Sakai Foundation. All Rights Reserved.