01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package edu.iu.uis.eden.clientapp.vo;
18:
19: import java.io.Serializable;
20:
21: import edu.iu.uis.eden.actions.MovePoint;
22:
23: /**
24: * Transport object for the {@link MovePoint}
25: *
26: * @author ewestfal
27: *
28: * @workflow.webservice-object
29: */
30: public class MovePointVO implements Serializable {
31:
32: private static final long serialVersionUID = 6682919843672420498L;
33:
34: private String startNodeName;
35: private int stepsToMove;
36:
37: public MovePointVO() {
38: }
39:
40: /**
41: * Defines a move point which starts at the given fromNodeName and moves the
42: * number of steps defined. This can be a negative value to move backwards,
43: * 0 to stay at the current position (refresh) or a positive value to move forward.
44: */
45: public MovePointVO(String fromNodeName, int stepsToMove) {
46: this .startNodeName = fromNodeName;
47: this .stepsToMove = stepsToMove;
48: }
49:
50: public String getStartNodeName() {
51: return startNodeName;
52: }
53:
54: public void setStartNodeName(String fromNodeName) {
55: this .startNodeName = fromNodeName;
56: }
57:
58: public int getStepsToMove() {
59: return stepsToMove;
60: }
61:
62: public void setStepsToMove(int stepsToMove) {
63: this.stepsToMove = stepsToMove;
64: }
65:
66: }
|