Coverage Report - org.kuali.rice.kew.help.HelpEntry
 
Classes in this File Line Coverage Branch Coverage Complexity
HelpEntry
0%
0/16
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.help;
 18  
 
 19  
 import javax.persistence.Column;
 20  
 import javax.persistence.Entity;
 21  
 import javax.persistence.GeneratedValue;
 22  
 import javax.persistence.Id;
 23  
 import javax.persistence.NamedQueries;
 24  
 import javax.persistence.NamedQuery;
 25  
 import javax.persistence.Table;
 26  
 import javax.persistence.Version;
 27  
 
 28  
 import org.hibernate.annotations.GenericGenerator;
 29  
 import org.hibernate.annotations.Parameter;
 30  
 
 31  
 /**
 32  
  * Model bean representing a piece of help information which adds extra information about fields and
 33  
  * data in the user interface.
 34  
  *
 35  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 36  
  */
 37  
 @Entity
 38  
 @Table(name="KREW_HLP_T")
 39  
 @NamedQueries({
 40  
   @NamedQuery(name="HelpEntry.FindById",  query="select he from HelpEntry he where he.helpId = :helpId"),
 41  
   @NamedQuery(name="HelpEntry.FindByKey",  query="select he from HelpEntry he where he.helpKey = :helpKey")
 42  
 })
 43  
 //@Sequence(name="KREW_HLP_S", property="helpId")
 44  0
 public class HelpEntry {
 45  
     @Id
 46  
     @GeneratedValue(generator="KREW_HLP_S")
 47  
         @GenericGenerator(name="KREW_HLP_S",strategy="org.hibernate.id.enhanced.SequenceStyleGenerator",parameters={
 48  
                         @Parameter(name="sequence_name",value="KREW_HLP_S"),
 49  
                         @Parameter(name="value_column",value="id")
 50  
         })
 51  
         @Column(name="HLP_ID")
 52  
         private Long helpId;
 53  
         @Column(name="NM")
 54  
         private String helpName;
 55  
         @Column(name="HLP_TXT")
 56  
         private String helpText;
 57  
         @Column(name="KEY_CD")
 58  
         private String helpKey;
 59  
         @Version
 60  
         @Column(name="VER_NBR")
 61  
         private Integer lockVerNbr;
 62  
         
 63  
     public Long getHelpId() {
 64  0
         return helpId;
 65  
     }
 66  
     public void setHelpId(Long helpId) {
 67  0
         this.helpId = helpId;
 68  0
     }
 69  
     public String getHelpName() {
 70  0
         return helpName;
 71  
     }
 72  
     public void setHelpName(String helpName) {
 73  0
         this.helpName = helpName;
 74  0
     }
 75  
     public String getHelpText() {
 76  0
             return helpText;
 77  
     }
 78  
     public void setHelpText(String helpText) {
 79  0
             this.helpText = helpText;
 80  0
     }
 81  
     public Integer getLockVerNbr() {
 82  0
         return lockVerNbr;
 83  
     }
 84  
     public void setLockVerNbr(Integer lockVerNbr) {
 85  0
         this.lockVerNbr = lockVerNbr;
 86  0
     }
 87  
     public String getHelpKey() {
 88  0
         return helpKey;
 89  
     }
 90  
     public void setHelpKey(String helpKey) {
 91  0
         this.helpKey = helpKey;
 92  0
     }
 93  
 }
 94