Coverage Report - org.kuali.rice.kim.bo.ui.KimDocumentBoBase
 
Classes in this File Line Coverage Branch Coverage Complexity
KimDocumentBoBase
0%
0/4
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.kim.bo.ui;
 17  
 
 18  
 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
 19  
 
 20  
 import javax.persistence.Column;
 21  
 import javax.persistence.Id;
 22  
 import javax.persistence.MappedSuperclass;
 23  
 
 24  
 /**
 25  
  * This is a description of what this class does - shyu don't forget to fill this in. 
 26  
  * 
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  *
 29  
  */
 30  
 @MappedSuperclass
 31  0
 public class KimDocumentBoBase  extends PersistableBusinessObjectBase {
 32  
     private static final long serialVersionUID = 9042706897191231670L;
 33  
         @Id
 34  
     @Column(name="FDOC_NBR")
 35  
     protected String documentNumber;
 36  
         //@Type(type="yes_no")
 37  
         //@Column(name="ACTV_IND")
 38  
     //protected boolean active = true;
 39  
         //@Type(type="yes_no")
 40  
         //@Column(name="EDIT_FLAG")
 41  
         //protected boolean edit;
 42  
 
 43  
         
 44  
         //@Column(name="ACTV_FRM_DT")
 45  
         //protected Timestamp activeFromDate;
 46  
         //@Column(name="ACTV_TO_DT")
 47  
         //protected Timestamp activeToDate;
 48  
 
 49  
         public String getDocumentNumber() {
 50  0
                 return this.documentNumber;
 51  
         }
 52  
 
 53  
         public void setDocumentNumber(String documentNumber) {
 54  0
                 this.documentNumber = documentNumber;
 55  0
         }
 56  
 
 57  
         //public boolean isActive() {
 58  
         //        long now = System.currentTimeMillis();                
 59  
         //        return (activeFromDate == null || now > activeFromDate.getTime()) && (activeToDate == null || now < activeToDate.getTime());
 60  
         //}
 61  
 
 62  
         //public void setActive(boolean active) {
 63  
         //        this.active = active;
 64  
         //}
 65  
 
 66  
         //public boolean isEdit() {
 67  
         //        return this.edit;
 68  
         //}
 69  
 
 70  
         //public void setEdit(boolean edit) {
 71  
         //        this.edit = edit;
 72  
         //}
 73  
 
 74  
         /**
 75  
          * @return the activeFromDate
 76  
          */
 77  
         //public Timestamp getActiveFromDate() {
 78  
         //        return this.activeFromDate;
 79  
         //}
 80  
 
 81  
         /**
 82  
          * @param activeFromDate
 83  
          *            the activeFromDate to set
 84  
          */
 85  
         //public void setActiveFromDate(Timestamp activeFromDate) {
 86  
         //        this.activeFromDate = activeFromDate;
 87  
         //}
 88  
 
 89  
         /**
 90  
          * @return the activeToDate
 91  
          */
 92  
         //public Timestamp getActiveToDate() {
 93  
         //        return this.activeToDate;
 94  
         //}
 95  
 
 96  
         /**
 97  
          * @param activeToDate
 98  
          *            the activeToDate to set
 99  
          */
 100  
         //public void setActiveToDate(Timestamp activeToDate) {
 101  
         //        this.activeToDate = activeToDate;
 102  
         //}
 103  
 
 104  
 }