public abstract class DefaultRouteHandler
{
protected Object object;
/*************************************************************************************************************
* ============ Constructors ============
*/
public DefaultRouteHandler(Object anObject) {
object = anObject;
}
/*************************************************************************************************************
* ======= Methods =======
*/
public abstract boolean route();
/*************************************************************************************************************
* ========= Accessors =========
*/
/**
* Returns the Object linked to the Route.
*
* @return The Object
*/
public Object getObject() {
return object;
}
/**
* Sets the Object linked to the Route.
*
* @param object the Enterprise Object
*/
void setObject(Object object) {
this.object = object;
}
}