Coverage Report - org.kuali.rice.edl.impl.EDLContext
 
Classes in this File Line Coverage Branch Coverage Complexity
EDLContext
0%
0/27
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.edl.impl;
 17  
 
 18  
 import javax.xml.transform.Transformer;
 19  
 
 20  
 import org.kuali.rice.edl.impl.bo.EDocLiteAssociation;
 21  
 import org.kuali.rice.krad.UserSession;
 22  
 
 23  
 
 24  
 /**
 25  
  * Convenience object to hang valuable objects in edl off of.
 26  
  * 
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  *
 29  
  */
 30  
 public class EDLContext {
 31  
         
 32  
         private EDocLiteAssociation edocLiteAssociation;
 33  
         private EDLControllerChain        edlControllerChain;
 34  
         private UserSession userSession;
 35  
         private Transformer transformer;
 36  
         private RequestParser requestParser;
 37  
         private boolean inError;
 38  
         private UserAction userAction;
 39  
         private String redirectUrl;
 40  
         
 41  0
         public EDLContext() {
 42  0
                 redirectUrl = null;
 43  0
         }
 44  
         
 45  
         public UserSession getUserSession() {
 46  0
                 return userSession;
 47  
         }
 48  
         public void setUserSession(UserSession userSession) {
 49  0
                 this.userSession = userSession;
 50  0
         }
 51  
         public EDLControllerChain getEdlControllerChain() {
 52  0
                 return edlControllerChain;
 53  
         }
 54  
         public void setEdlControllerChain(EDLControllerChain edlControllerChain) {
 55  0
                 this.edlControllerChain = edlControllerChain;
 56  0
         }
 57  
         public EDocLiteAssociation getEdocLiteAssociation() {
 58  0
                 return edocLiteAssociation;
 59  
         }
 60  
         public void setEdocLiteAssociation(EDocLiteAssociation edocLiteAssociation) {
 61  0
                 this.edocLiteAssociation = edocLiteAssociation;
 62  0
         }
 63  
         public Transformer getTransformer() {
 64  0
                 return transformer;
 65  
         }
 66  
         public void setTransformer(Transformer transformer) {
 67  0
                 this.transformer = transformer;
 68  0
         }
 69  
         public boolean isInError() {
 70  0
                 return inError;
 71  
         }
 72  
         public void setInError(boolean inError) {
 73  0
                 this.inError = inError;
 74  0
         }
 75  
         public RequestParser getRequestParser() {
 76  0
                 return requestParser;
 77  
         }
 78  
         public void setRequestParser(RequestParser requestParser) {
 79  0
                 this.requestParser = requestParser;
 80  0
         }
 81  
         public UserAction getUserAction() {
 82  0
             return this.userAction;
 83  
         }
 84  
         public void setUserAction(UserAction userAction) {
 85  0
             this.userAction = userAction;
 86  0
         }
 87  
 
 88  
         public String getRedirectUrl() {
 89  0
                 return redirectUrl;
 90  
         }
 91  
 
 92  
         public void setRedirectUrl(String redirectUrl) {
 93  0
                 this.redirectUrl = redirectUrl;
 94  0
         }        
 95  
         
 96  
 }