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-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.edl.impl.bo;
 18  
 
 19  
 import org.hibernate.annotations.GenericGenerator;
 20  
 import org.hibernate.annotations.Parameter;
 21  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 22  
 
 23  
 import javax.persistence.*;
 24  
 import java.io.Serializable;
 25  
 
 26  
 /**
 27  
  * Association between WorkflowDocument type -> EDocLite definition, EDocLite style
 28  
  * Table: en_edoclt_assoc_t
 29  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 30  
  */
 31  
 @Entity
 32  
 @Table(name="KREW_EDL_ASSCTN_T")
 33  
 //@Sequence(name="KREW_EDL_S", property="edocLiteAssocId")
 34  0
 public class EDocLiteAssociation  extends PersistableBusinessObjectBase implements Serializable{
 35  
 
 36  
         private static final long serialVersionUID = 7300251507982374010L;
 37  
         /**
 38  
      * edoclt_assoc_id
 39  
      */
 40  
     @Id
 41  
     @GeneratedValue(generator="KREW_EDL_S")
 42  
         @GenericGenerator(name="KREW_EDL_S",strategy="org.hibernate.id.enhanced.SequenceStyleGenerator",parameters={
 43  
                         @Parameter(name="sequence_name",value="KREW_EDL_S"),
 44  
                         @Parameter(name="value_column",value="id")
 45  
         })
 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 getActionsUrl() {
 104  0
                 return actionsUrl;
 105  
         }
 106  
         public void setActionsUrl(String actionsUrl) {
 107  0
                 this.actionsUrl = actionsUrl;
 108  0
         }
 109  
 }