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 | |
@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; |
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 | |
} |