Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 24th, 2013  |  syntax: Java  |  size: 0.95 KB  |  views: 1,039  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.          * ======= Methods =======
  16.          */
  17.  
  18.         public abstract boolean route();
  19.         /*************************************************************************************************************
  20.          * ========= Accessors =========
  21.          */
  22.  
  23.         /**
  24.          * Returns the Object linked to the Route.
  25.          *
  26.          * @return The Object
  27.          */
  28.         public Object getObject() {
  29.                 return object;
  30.         }
  31.  
  32.         /**
  33.          * Sets the Object linked to the Route.
  34.          *
  35.          * @param object the Enterprise Object
  36.          */
  37.         void setObject(Object object) {
  38.                 this.object = object;
  39.         }
  40. }
clone this paste RAW Paste Data