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.edl;
18:
19: import javax.xml.transform.Transformer;
20:
21: import edu.iu.uis.eden.web.session.UserSession;
22:
23: /**
24: * Convenience object to hang valuable objects in edl off of.
25: *
26: * @author rkirkend
27: *
28: */
29: public class EDLContext {
30:
31: private EDocLiteAssociation edocLiteAssociation;
32: private EDLControllerChain edlControllerChain;
33: private UserSession userSession;
34: private Transformer transformer;
35: private RequestParser requestParser;
36: private boolean inError;
37:
38: public UserSession getUserSession() {
39: return userSession;
40: }
41:
42: public void setUserSession(UserSession userSession) {
43: this .userSession = userSession;
44: }
45:
46: public EDLControllerChain getEdlControllerChain() {
47: return edlControllerChain;
48: }
49:
50: public void setEdlControllerChain(
51: EDLControllerChain edlControllerChain) {
52: this .edlControllerChain = edlControllerChain;
53: }
54:
55: public EDocLiteAssociation getEdocLiteAssociation() {
56: return edocLiteAssociation;
57: }
58:
59: public void setEdocLiteAssociation(
60: EDocLiteAssociation edocLiteAssociation) {
61: this .edocLiteAssociation = edocLiteAssociation;
62: }
63:
64: public Transformer getTransformer() {
65: return transformer;
66: }
67:
68: public void setTransformer(Transformer transformer) {
69: this .transformer = transformer;
70: }
71:
72: public boolean isInError() {
73: return inError;
74: }
75:
76: public void setInError(boolean inError) {
77: this .inError = inError;
78: }
79:
80: public RequestParser getRequestParser() {
81: return requestParser;
82: }
83:
84: public void setRequestParser(RequestParser requestParser) {
85: this.requestParser = requestParser;
86: }
87:
88: }
|