| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.rice.kns.web.ui; |
| 17 | |
|
| 18 | |
import java.io.Serializable; |
| 19 | |
|
| 20 | |
|
| 21 | |
|
| 22 | |
|
| 23 | |
public class HeaderField implements Serializable { |
| 24 | |
private static final long serialVersionUID = 1L; |
| 25 | |
|
| 26 | 0 | public static final HeaderField EMPTY_FIELD = new HeaderField(); |
| 27 | |
|
| 28 | |
private String id; |
| 29 | |
private String ddAttributeEntryName; |
| 30 | |
private String displayValue; |
| 31 | |
private String nonLookupValue; |
| 32 | |
private boolean lookupAware; |
| 33 | |
|
| 34 | 0 | public HeaderField() { |
| 35 | 0 | } |
| 36 | |
|
| 37 | |
public HeaderField(String id, String ddAttributeEntryName, String displayValue, String nonLookupValue) { |
| 38 | 0 | this(ddAttributeEntryName, displayValue, nonLookupValue); |
| 39 | 0 | this.id = id; |
| 40 | 0 | } |
| 41 | |
|
| 42 | 0 | public HeaderField(String ddAttributeEntryName, String displayValue, String nonLookupValue) { |
| 43 | 0 | this.ddAttributeEntryName = ddAttributeEntryName; |
| 44 | 0 | this.displayValue = displayValue; |
| 45 | 0 | this.nonLookupValue = nonLookupValue; |
| 46 | 0 | this.lookupAware = true; |
| 47 | 0 | } |
| 48 | |
|
| 49 | 0 | public HeaderField(String ddAttributeEntryName, String displayValue) { |
| 50 | 0 | this.ddAttributeEntryName = ddAttributeEntryName; |
| 51 | 0 | this.displayValue = displayValue; |
| 52 | 0 | this.lookupAware = false; |
| 53 | 0 | } |
| 54 | |
|
| 55 | |
public String getId() { |
| 56 | 0 | return this.id; |
| 57 | |
} |
| 58 | |
|
| 59 | |
public void setId(String id) { |
| 60 | 0 | this.id = id; |
| 61 | 0 | } |
| 62 | |
|
| 63 | |
public String getDdAttributeEntryName() { |
| 64 | 0 | return this.ddAttributeEntryName; |
| 65 | |
} |
| 66 | |
|
| 67 | |
public void setDdAttributeEntryName(String ddAttributeEntryName) { |
| 68 | 0 | this.ddAttributeEntryName = ddAttributeEntryName; |
| 69 | 0 | } |
| 70 | |
|
| 71 | |
public String getDisplayValue() { |
| 72 | 0 | return this.displayValue; |
| 73 | |
} |
| 74 | |
|
| 75 | |
public void setDisplayValue(String displayValue) { |
| 76 | 0 | this.displayValue = displayValue; |
| 77 | 0 | } |
| 78 | |
|
| 79 | |
public String getNonLookupValue() { |
| 80 | 0 | return this.nonLookupValue; |
| 81 | |
} |
| 82 | |
|
| 83 | |
public void setNonLookupValue(String nonLookupValue) { |
| 84 | 0 | this.nonLookupValue = nonLookupValue; |
| 85 | 0 | } |
| 86 | |
|
| 87 | |
public boolean isLookupAware() { |
| 88 | 0 | return this.lookupAware; |
| 89 | |
} |
| 90 | |
|
| 91 | |
public void setLookupAware(boolean lookupAware) { |
| 92 | 0 | this.lookupAware = lookupAware; |
| 93 | 0 | } |
| 94 | |
} |