| 1 | |
package org.kuali.student.lum.common.client.lo; |
| 2 | |
|
| 3 | |
import org.kuali.student.core.assembly.data.Data; |
| 4 | |
import org.kuali.student.core.assembly.helper.PropertyEnum; |
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
public class LoDisplayInfoHelper { |
| 10 | |
private Data data; |
| 11 | 0 | public enum Properties implements PropertyEnum |
| 12 | |
{ |
| 13 | 0 | LO_INFO ("loInfo"), |
| 14 | 0 | LO_DISPLAY_INFO_LIST ("loDisplayInfoList"), |
| 15 | 0 | LO_CATEGORY_INFO_LIST ("loCategoryInfoList"); |
| 16 | |
|
| 17 | |
private final String key; |
| 18 | |
|
| 19 | |
private Properties (final String key) |
| 20 | 0 | { |
| 21 | 0 | this.key = key; |
| 22 | 0 | } |
| 23 | |
|
| 24 | |
@Override |
| 25 | |
public String getKey () |
| 26 | |
{ |
| 27 | 0 | return this.key; |
| 28 | |
} |
| 29 | |
} |
| 30 | |
|
| 31 | 0 | public LoDisplayInfoHelper() { |
| 32 | 0 | data = new Data(); |
| 33 | 0 | } |
| 34 | |
|
| 35 | 0 | public LoDisplayInfoHelper(Data data) { |
| 36 | 0 | this.data = data; |
| 37 | 0 | } |
| 38 | |
|
| 39 | |
public Data getData() { |
| 40 | 0 | return data; |
| 41 | |
} |
| 42 | |
|
| 43 | |
public void setData(Data data) { |
| 44 | 0 | this.data = data; |
| 45 | 0 | } |
| 46 | |
|
| 47 | |
public void setLoInfo(Data loInfoData) { |
| 48 | 0 | HelperUtil.setDataField(LoDisplayInfoHelper.Properties.LO_INFO, data, loInfoData); |
| 49 | 0 | } |
| 50 | |
|
| 51 | |
public Data getLoInfo() { |
| 52 | 0 | return HelperUtil.getDataField(LoDisplayInfoHelper.Properties.LO_INFO, data); |
| 53 | |
} |
| 54 | |
|
| 55 | |
public void setDisplayInfoList(Data displayInfoListData) { |
| 56 | 0 | HelperUtil.setDataField(LoDisplayInfoHelper.Properties.LO_DISPLAY_INFO_LIST, data, displayInfoListData); |
| 57 | 0 | } |
| 58 | |
|
| 59 | |
public Data getDisplayInfoList() { |
| 60 | 0 | return HelperUtil.getDataField(LoDisplayInfoHelper.Properties.LO_DISPLAY_INFO_LIST, data); |
| 61 | |
} |
| 62 | |
|
| 63 | |
public void setCategoryInfoList(Data categoryInfoListData) { |
| 64 | 0 | HelperUtil.setDataField(LoDisplayInfoHelper.Properties.LO_CATEGORY_INFO_LIST, data, categoryInfoListData); |
| 65 | 0 | } |
| 66 | |
|
| 67 | |
public Data getCategoryInfoList() { |
| 68 | 0 | return HelperUtil.getDataField(LoDisplayInfoHelper.Properties.LO_CATEGORY_INFO_LIST, data); |
| 69 | |
} |
| 70 | |
} |