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: /**
22: * Superclass for all Document Events which can be generated by the routing engine.
23: *
24: * @author ewestfal
25: *
26: * @workflow.webservice-object
27: */
28: public abstract class DocumentEventVO implements Serializable {
29:
30: public static final String ROUTE_LEVEL_CHANGE = "rt_lvl_change";
31: public static final String ROUTE_STATUS_CHANGE = "rt_status_change";
32: public static final String DELETE_CHANGE = "delete_document";
33: public static final String ACTION_TAKEN = "action_taken";
34:
35: private String documentEventCode;
36: private Long routeHeaderId;
37: private String appDocId;
38:
39: public DocumentEventVO() {
40: }
41:
42: public DocumentEventVO(String documentEventCode) {
43: this .documentEventCode = documentEventCode;
44: }
45:
46: public String getAppDocId() {
47: return appDocId;
48: }
49:
50: public void setAppDocId(String appDocId) {
51: this .appDocId = appDocId;
52: }
53:
54: public String getDocumentEventCode() {
55: return documentEventCode;
56: }
57:
58: public void setDocumentEventCode(String documentEventCode) {
59: this .documentEventCode = documentEventCode;
60: }
61:
62: public Long getRouteHeaderId() {
63: return routeHeaderId;
64: }
65:
66: public void setRouteHeaderId(Long routeHeaderId) {
67: this.routeHeaderId = routeHeaderId;
68: }
69:
70: }
|