Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement