public class BaseDelivery extends Object implements 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 Deliveryaddress - The delivery address.public String getAddress()
getAddress in interface Deliverypublic void setElement(String id)
setElement in interface Deliveryid - The HTML Element Id that this delivery is in reference to.public String getElement()
getElement in interface Deliverypublic void act()
public String compose()
public boolean equals(Object obj)
public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2003–2017 The Sakai Foundation. All rights reserved.