View difference between Paste ID: 9GPwiMtg and vGMuwjK0
SHOW: | | - or go back to the newest paste.
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
}