View Javadoc

1   /*
2    * Copyright (c) 2005 Regents of the University of California (Regents). Created
3    * by TELS, Graduate School of Education, University of California at Berkeley.
4    *
5    * This software is distributed under the GNU Lesser General Public License, v2.
6    *
7    * Permission is hereby granted, without written agreement and without license
8    * or royalty fees, to use, copy, modify, and distribute this software and its
9    * documentation for any purpose, provided that the above copyright notice and
10   * the following two paragraphs appear in all copies of this software.
11   *
12   * REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
13   * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
14   * PURPOSE. THE SOFTWAREAND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED
15   * HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE
16   * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17   *
18   * IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
19   * SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
20   * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
21   * REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22   *  Copyright (C) 2004  The Concord Consortium, Inc.,
23   *  10 Concord Crossing, Concord, MA 01741
24   *
25   *  Web Site: http://www.concord.org
26   *  Email: info@concord.org
27   *
28   *  This library is free software; you can redistribute it and/or
29   *  modify it under the terms of the GNU Lesser General Public
30   *  License as published by the Free Software Foundation; either
31   *  version 2.1 of the License, or (at your option) any later version.
32   *
33   *  This library is distributed in the hope that it will be useful,
34   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
35   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
36   *  Lesser General Public License for more details.
37   *
38   *  You should have received a copy of the GNU Lesser General Public
39   *  License along with this library; if not, write to the Free Software
40   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
41   *
42   */
43  
44  package net.sf.sail.core.activity.model;
45  
46  public class NavTransitSupport
47  extends ScriptBeanContext
48  implements INavTransit
49  {
50  	private static final long serialVersionUID = 3256721775588030512L;
51  	protected INavNode source;
52  	protected INavNode sink;
53  	
54  	public NavTransitSupport()
55  	{
56  		super();
57  	}
58  	
59  	public INavNode getSource()
60  	{
61  		return source;
62  	}
63  	
64  	public void setSource(INavNode node)
65  	{
66  		source = node;
67  	}
68  	
69  	public INavNode getSink()
70  	{
71  		return sink;
72  	}
73  	
74  	public void setSink(INavNode node)
75  	{
76  		sink = node;
77  	}
78  
79  	public boolean test() {
80  		// TODO Auto-generated method stub
81  		return false;
82  	}
83  
84  	public void activate() {
85  		// TODO Auto-generated method stub
86  		
87  	}
88  
89  	public void deactivate() {
90  		// TODO Auto-generated method stub
91  		
92  	}
93  
94  	public INavNode getRootState()
95  	{
96  		// TODO Auto-generated method stub
97  		return null;
98  	}
99  
100 	public INavNode getParentState() {
101 		// TODO Auto-generated method stub
102 		return null;
103 	}
104 
105 	public void setParentState(INavNode state) {
106 		// TODO Auto-generated method stub
107 		
108 	}
109 
110 	@Override
111 	public void close() {
112 		// TODO Auto-generated method stub
113 		
114 	}
115 }