Coverage Report - org.kuali.rice.kew.edl.bo.EDocLiteAssociation
 
Classes in this File Line Coverage Branch Coverage Complexity
EDocLiteAssociation
0%
0/28
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2007 The Kuali Foundation
 3  
  *
 4  
  *
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  *
 9  
  * http://www.opensource.org/licenses/ecl2.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 org.kuali.rice.kew.edl.bo;
 18  
 
 19  
 import java.io.Serializable;
 20  
 import java.util.LinkedHashMap;
 21  
 
 22  
 import javax.persistence.Column;
 23  
 import javax.persistence.Entity;
 24  
 import javax.persistence.Id;
 25  
 import javax.persistence.Table;
 26  
 import javax.persistence.Transient;
 27  
 
 28  
 import org.kuali.rice.core.jpa.annotations.Sequence;
 29  
 import org.kuali.rice.kew.bo.KewPersistableBusinessObjectBase;
 30  
 
 31  
 /**
 32  
  * Association between WorkflowDocument type -> EDocLite definition, EDocLite style
 33  
  * Table: en_edoclt_assoc_t
 34  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 35  
  */
 36  
 @Entity
 37  
 @Table(name="KREW_EDL_ASSCTN_T")
 38  
 @Sequence(name="KREW_EDL_S", property="edocLiteAssocId")
 39  0
 public class EDocLiteAssociation  extends KewPersistableBusinessObjectBase implements Serializable{
 40  
 
 41  
         private static final long serialVersionUID = 7300251507982374010L;
 42  
         /**
 43  
      * edoclt_assoc_id
 44  
      */
 45  
     @Id
 46  
         @Column(name="EDOCLT_ASSOC_ID")
 47  
         private Long edocLiteAssocId;
 48  
     /**
 49  
      * edoclt_assoc_doctype_nm
 50  
      */
 51  
     @Column(name="DOC_TYP_NM")
 52  
         private String edlName;
 53  
     /**
 54  
      * edoclt_assoc_def_nm
 55  
      */
 56  
     @Column(name="EDL_DEF_NM")
 57  
         private String definition;
 58  
     /**
 59  
      * edoclt_assoc_style_nm
 60  
      */
 61  
     @Column(name="STYLE_NM")
 62  
         private String style;
 63  
     /**
 64  
      * edoclt_assoc_actv_ind
 65  
      */
 66  
     @Column(name="ACTV_IND")
 67  
         private Boolean activeInd;
 68  
 
 69  
     @Transient
 70  
     private String actionsUrl;//for quickfinder
 71  
 
 72  
     public Long getEdocLiteAssocId() {
 73  0
         return edocLiteAssocId;
 74  
     }
 75  
     public void setEdocLiteAssocId(Long edocLiteAssocId) {
 76  0
         this.edocLiteAssocId = edocLiteAssocId;
 77  0
     }
 78  
     public String getEdlName() {
 79  0
         return edlName;
 80  
     }
 81  
     public void setEdlName(String edlName) {
 82  0
         this.edlName = edlName;
 83  0
     }
 84  
     public String getDefinition() {
 85  0
         return definition;
 86  
     }
 87  
     public void setDefinition(String definition) {
 88  0
         this.definition = definition;
 89  0
     }
 90  
     public String getStyle() {
 91  0
         return style;
 92  
     }
 93  
     public void setStyle(String style) {
 94  0
         this.style = style;
 95  0
     }
 96  
     public Boolean getActiveInd() {
 97  0
         return activeInd;
 98  
     }
 99  
     public void setActiveInd(Boolean activeInd) {
 100  0
         this.activeInd = activeInd;
 101  0
     }
 102  
 
 103  
     public String toString() {
 104  0
         return "[EDocLiteAssociation: edocLiteAssocId=" + edocLiteAssocId
 105  
                                  + ", edlName=" + edlName
 106  
                                  + ", definition=" + definition
 107  
                                  + ", style=" + style
 108  
                                  + ", activeInd=" + activeInd
 109  
                                  + ", versionNumber=" + versionNumber
 110  
                                  + "]";
 111  
     }
 112  
         public String getActionsUrl() {
 113  0
                 return actionsUrl;
 114  
         }
 115  
         public void setActionsUrl(String actionsUrl) {
 116  0
                 this.actionsUrl = actionsUrl;
 117  0
         }
 118  
         /**
 119  
          * This overridden method ...
 120  
          *
 121  
          * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
 122  
          */
 123  
         @Override
 124  
         protected LinkedHashMap<String, Object> toStringMapper() {
 125  0
                 LinkedHashMap<String, Object> propMap = new LinkedHashMap<String, Object>();
 126  0
             propMap.put("edocLiteAssocId", getEdocLiteAssocId());
 127  0
             propMap.put("edlName", getEdlName());
 128  0
             propMap.put("definition", getDefinition());
 129  0
             propMap.put("style", getStyle());
 130  0
             propMap.put("activeInd", getActiveInd());
 131  0
             propMap.put("versionNumber", getVersionNumber());
 132  0
             return propMap;
 133  
 
 134  
         }
 135  
 }