Coverage Report - org.kuali.rice.edl.impl.bo.EDocLiteAssociation
 
Classes in this File Line Coverage Branch Coverage Complexity
EDocLiteAssociation
0%
0/19
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.bo;
 17  
 
 18  
 import org.hibernate.annotations.GenericGenerator;
 19  
 import org.hibernate.annotations.Parameter;
 20  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 21  
 
 22  
 import javax.persistence.*;
 23  
 import java.io.Serializable;
 24  
 
 25  
 /**
 26  
  * Association between WorkflowDocument type -> EDocLite definition, EDocLite style
 27  
  * Table: en_edoclt_assoc_t
 28  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 29  
  */
 30  
 @Entity
 31  
 @Table(name="KREW_EDL_ASSCTN_T")
 32  
 //@Sequence(name="KREW_EDL_S", property="edocLiteAssocId")
 33  0
 public class EDocLiteAssociation  extends PersistableBusinessObjectBase implements Serializable{
 34  
 
 35  
         private static final long serialVersionUID = 7300251507982374010L;
 36  
         /**
 37  
      * edoclt_assoc_id
 38  
      */
 39  
     @Id
 40  
     @GeneratedValue(generator="KREW_EDL_S")
 41  
         @GenericGenerator(name="KREW_EDL_S",strategy="org.hibernate.id.enhanced.SequenceStyleGenerator",parameters={
 42  
                         @Parameter(name="sequence_name",value="KREW_EDL_S"),
 43  
                         @Parameter(name="value_column",value="id")
 44  
         })
 45  
         @Column(name="EDOCLT_ASSOC_ID")
 46  
         private Long edocLiteAssocId;
 47  
     /**
 48  
      * edoclt_assoc_doctype_nm
 49  
      */
 50  
     @Column(name="DOC_TYP_NM")
 51  
         private String edlName;
 52  
     /**
 53  
      * edoclt_assoc_def_nm
 54  
      */
 55  
     @Column(name="EDL_DEF_NM")
 56  
         private String definition;
 57  
     /**
 58  
      * edoclt_assoc_style_nm
 59  
      */
 60  
     @Column(name="STYLE_NM")
 61  
         private String style;
 62  
     /**
 63  
      * edoclt_assoc_actv_ind
 64  
      */
 65  
     @Column(name="ACTV_IND")
 66  
         private Boolean activeInd;
 67  
 
 68  
     @Transient
 69  
     private String actionsUrl;//for quickfinder
 70  
 
 71  
     public Long getEdocLiteAssocId() {
 72  0
         return edocLiteAssocId;
 73  
     }
 74  
     public void setEdocLiteAssocId(Long edocLiteAssocId) {
 75  0
         this.edocLiteAssocId = edocLiteAssocId;
 76  0
     }
 77  
     public String getEdlName() {
 78  0
         return edlName;
 79  
     }
 80  
     public void setEdlName(String edlName) {
 81  0
         this.edlName = edlName;
 82  0
     }
 83  
     public String getDefinition() {
 84  0
         return definition;
 85  
     }
 86  
     public void setDefinition(String definition) {
 87  0
         this.definition = definition;
 88  0
     }
 89  
     public String getStyle() {
 90  0
         return style;
 91  
     }
 92  
     public void setStyle(String style) {
 93  0
         this.style = style;
 94  0
     }
 95  
     public Boolean getActiveInd() {
 96  0
         return activeInd;
 97  
     }
 98  
     public void setActiveInd(Boolean activeInd) {
 99  0
         this.activeInd = activeInd;
 100  0
     }
 101  
 
 102  
         public String getActionsUrl() {
 103  0
                 return actionsUrl;
 104  
         }
 105  
         public void setActionsUrl(String actionsUrl) {
 106  0
                 this.actionsUrl = actionsUrl;
 107  0
         }
 108  
 }