Advertisement
Guest User

Untitled

a guest
Apr 24th, 2013
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.76 KB | None | 0 0
  1. public abstract class DefaultRouteHandler
  2. {
  3.  
  4.     protected Object object;
  5.  
  6.     /*************************************************************************************************************
  7.      * ============ Constructors ============
  8.      */
  9.  
  10.     public DefaultRouteHandler(Object anObject) {
  11.         object = anObject;
  12.     }
  13.  
  14.     /*************************************************************************************************************
  15.      * ========= Accessors =========
  16.      */
  17.  
  18.     /**
  19.      * Returns the Object linked to the Route.
  20.      *
  21.      * @return The Object
  22.      */
  23.     public Object getObject() {
  24.         return object;
  25.     }
  26.  
  27.     /**
  28.      * Sets the Object linked to the Route.
  29.      *
  30.      * @param object the Enterprise Object
  31.      */
  32.     void setObject(Object object) {
  33.         this.object = object;
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement