Coverage Report - org.kuali.rice.kns.web.ui.HeaderField
 
Classes in this File Line Coverage Branch Coverage Complexity
HeaderField
0%
0/32
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.kns.web.ui;
 17  
 
 18  
 import java.io.Serializable;
 19  
 
 20  
 /**
 21  
  * 
 22  
  */
 23  
 @Deprecated
 24  
 public class HeaderField implements Serializable {
 25  
     private static final long serialVersionUID = 1L;
 26  
     
 27  0
     public static final HeaderField EMPTY_FIELD = new HeaderField();
 28  
     
 29  
     private String id;  // to be used as a unique identifier if needed
 30  
     private String ddAttributeEntryName;
 31  
     private String displayValue;
 32  
     private String nonLookupValue;
 33  
     private boolean lookupAware;
 34  
     
 35  0
     public HeaderField() {
 36  0
     }
 37  
     
 38  
     public HeaderField(String id, String ddAttributeEntryName, String displayValue, String nonLookupValue) {
 39  0
             this(ddAttributeEntryName, displayValue, nonLookupValue);
 40  0
             this.id = id;
 41  0
     }
 42  
     
 43  0
     public HeaderField(String ddAttributeEntryName, String displayValue, String nonLookupValue) {
 44  0
         this.ddAttributeEntryName = ddAttributeEntryName;
 45  0
         this.displayValue = displayValue;
 46  0
         this.nonLookupValue = nonLookupValue;
 47  0
         this.lookupAware = true;
 48  0
     }
 49  
     
 50  0
     public HeaderField(String ddAttributeEntryName, String displayValue) {
 51  0
         this.ddAttributeEntryName = ddAttributeEntryName;
 52  0
         this.displayValue = displayValue;
 53  0
         this.lookupAware = false;
 54  0
     }
 55  
     
 56  
     public String getId() {
 57  0
                 return this.id;
 58  
         }
 59  
 
 60  
         public void setId(String id) {
 61  0
                 this.id = id;
 62  0
         }
 63  
 
 64  
         public String getDdAttributeEntryName() {
 65  0
         return this.ddAttributeEntryName;
 66  
     }
 67  
     
 68  
     public void setDdAttributeEntryName(String ddAttributeEntryName) {
 69  0
         this.ddAttributeEntryName = ddAttributeEntryName;
 70  0
     }
 71  
     
 72  
     public String getDisplayValue() {
 73  0
         return this.displayValue;
 74  
     }
 75  
     
 76  
     public void setDisplayValue(String displayValue) {
 77  0
         this.displayValue = displayValue;
 78  0
     }
 79  
     
 80  
     public String getNonLookupValue() {
 81  0
         return this.nonLookupValue;
 82  
     }
 83  
     
 84  
     public void setNonLookupValue(String nonLookupValue) {
 85  0
         this.nonLookupValue = nonLookupValue;
 86  0
     }
 87  
     
 88  
     public boolean isLookupAware() {
 89  0
         return this.lookupAware;
 90  
     }
 91  
     
 92  
     public void setLookupAware(boolean lookupAware) {
 93  0
         this.lookupAware = lookupAware;
 94  0
     }
 95  
 }