1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.common.kitchensink.uif;
18
19 import org.kuali.rice.krad.uif.widget.WidgetBase;
20
21 import java.util.ArrayList;
22 import java.util.List;
23
24
25
26
27
28
29
30 public class KitchenSinkFooterLinkSection extends WidgetBase {
31
32 private String linkDelimiterEnd, linkDelimiterMiddle, linkDelimiterStart;
33 private List<KitchenSinkFooterLinkGroup> footerLinkGroups;
34
35 public KitchenSinkFooterLinkSection() {
36 linkDelimiterStart = "[";
37 linkDelimiterMiddle = "|";
38 linkDelimiterEnd = "]";
39 footerLinkGroups = new ArrayList<KitchenSinkFooterLinkGroup>();
40 }
41
42 public String getLinkDelimiterEnd() {
43 return linkDelimiterEnd;
44 }
45 public void setLinkDelimiterEnd(String linkDelimiterEnd) {
46 this.linkDelimiterEnd = linkDelimiterEnd;
47 }
48
49 public String getLinkDelimiterMiddle() {
50 return linkDelimiterMiddle;
51 }
52 public void setLinkDelimiterMiddle(String linkDelimiterMiddle) {
53 this.linkDelimiterMiddle = linkDelimiterMiddle;
54 }
55
56 public String getLinkDelimiterStart() {
57 return linkDelimiterStart;
58 }
59 public void setLinkDelimiterStart(String linkDelimiterStart) {
60 this.linkDelimiterStart = linkDelimiterStart;
61 }
62
63 public List<KitchenSinkFooterLinkGroup> getFooterLinkGroups() {
64 return footerLinkGroups;
65 }
66 public void setFooterLinkGroups(List<KitchenSinkFooterLinkGroup> footerLinkGroups) {
67 this.footerLinkGroups = footerLinkGroups;
68 }
69
70
71
72
73 @Override
74 protected <T> void copyProperties(T component) {
75 super.copyProperties(component);
76
77 KitchenSinkFooterLinkSection kitchenSinkFooterLinkSectionCopy = (KitchenSinkFooterLinkSection) component;
78
79 kitchenSinkFooterLinkSectionCopy.setFooterLinkGroups(this.footerLinkGroups);
80 kitchenSinkFooterLinkSectionCopy.setLinkDelimiterEnd(this.linkDelimiterEnd);
81 kitchenSinkFooterLinkSectionCopy.setLinkDelimiterMiddle(this.linkDelimiterMiddle);
82 kitchenSinkFooterLinkSectionCopy.setLinkDelimiterStart(this.linkDelimiterStart);
83 }
84 }