Coverage Report - org.kuali.rice.kim.bo.ui.KimDocumentAttributeDataBusinessObjectBase
 
Classes in this File Line Coverage Branch Coverage Complexity
KimDocumentAttributeDataBusinessObjectBase
0%
0/24
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-2009 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 javax.persistence.Column;
 19  
 import javax.persistence.Id;
 20  
 import javax.persistence.MappedSuperclass;
 21  
 import javax.persistence.Transient;
 22  
 
 23  
 import org.kuali.rice.kim.bo.types.impl.KimAttributeImpl;
 24  
 
 25  
 /**
 26  
  * This class is the base class for KIM documents sub-business objects that store attribute/qualifier data
 27  
  * 
 28  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 29  
  *
 30  
  */
 31  
 @MappedSuperclass
 32  
 public class KimDocumentAttributeDataBusinessObjectBase extends KimDocumentBoBase {
 33  
 
 34  
         private static final long serialVersionUID = -1512640359333185819L;
 35  
         @Id
 36  
         @Column(name = "ATTR_DATA_ID")
 37  
         private String attrDataId;
 38  
         @Column(name = "KIM_TYP_ID")
 39  
         private String kimTypId;
 40  
         @Column(name = "KIM_ATTR_DEFN_ID")
 41  
         private String kimAttrDefnId;
 42  0
         @Column(name = "ATTR_VAL")
 43  
         private String attrVal = "";
 44  
         private KimAttributeImpl kimAttribute;
 45  
         @Transient
 46  
         private String qualifierKey;
 47  
 
 48  
         private Boolean unique;
 49  
         
 50  
         /**
 51  
          * This constructs a ...
 52  
          * 
 53  
          */
 54  
         public KimDocumentAttributeDataBusinessObjectBase() {
 55  0
                 super();
 56  0
         }
 57  
 
 58  
         public String getAttrDataId() {
 59  0
                 return attrDataId;
 60  
         }
 61  
 
 62  
         public void setAttrDataId(String attrDataId) {
 63  0
                 this.attrDataId = attrDataId;
 64  0
         }
 65  
 
 66  
         public String getKimTypId() {
 67  0
                 return kimTypId;
 68  
         }
 69  
 
 70  
         public void setKimTypId(String kimTypId) {
 71  0
                 this.kimTypId = kimTypId;
 72  0
         }
 73  
 
 74  
         public String getKimAttrDefnId() {
 75  0
                 return kimAttrDefnId;
 76  
         }
 77  
 
 78  
         public void setKimAttrDefnId(String kimAttrDefnId) {
 79  0
                 this.kimAttrDefnId = kimAttrDefnId;
 80  0
         }
 81  
 
 82  
         public String getAttrVal() {
 83  0
                 return attrVal;
 84  
         }
 85  
 
 86  
         public void setAttrVal(String attrVal) {
 87  0
                 this.attrVal = attrVal;
 88  0
         }
 89  
 
 90  
         public String getQualifierKey() {
 91  0
                 return this.qualifierKey;
 92  
         }
 93  
 
 94  
         public void setQualifierKey(String qualifierKey) {
 95  0
                 this.qualifierKey = qualifierKey;
 96  0
         }
 97  
 
 98  
         /**
 99  
          * @return the kimAttribute
 100  
          */
 101  
         public KimAttributeImpl getKimAttribute() {
 102  0
                 return this.kimAttribute;
 103  
         }
 104  
 
 105  
         /**
 106  
          * @param kimAttribute the kimAttribute to set
 107  
          */
 108  
         public void setKimAttribute(KimAttributeImpl kimAttribute) {
 109  0
                 this.kimAttribute = kimAttribute;
 110  0
         }
 111  
 
 112  
         /**
 113  
          * @return the uniqueAndReadOnly
 114  
          */
 115  
         public Boolean isUnique() {
 116  0
                 return this.unique;
 117  
         }
 118  
 
 119  
         /**
 120  
          * @param uniqueAndReadOnly the uniqueAndReadOnly to set
 121  
          */
 122  
         public void setUnique(Boolean unique) {
 123  0
                 this.unique = unique;
 124  0
         }
 125  
 
 126  
 }