1 /*
2 * Copyright 2006 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
17 package org.kuali.ole.fp.businessobject;
18
19 import java.util.LinkedHashMap;
20
21 import org.kuali.ole.sys.businessobject.OriginationCode;
22 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23
24 /**
25 * This class is used to represent a "message of the day" object. These messages are displayed on the associated
26 * portal page and may contain phrases, informational messages or any other message deemed worthy.
27 */
28 public class MessageOfTheDay extends PersistableBusinessObjectBase {
29
30 private String financialSystemOriginationCode;
31 private String financialSystemMessageOfTheDayText;
32
33 private OriginationCode financialSystemOrigination;
34
35 /**
36 * Default constructor.
37 */
38 public MessageOfTheDay() {
39
40 }
41
42 /**
43 * Gets the financialSystemOriginationCode attribute.
44 *
45 * @return Returns the financialSystemOriginationCode
46 */
47 public String getFinancialSystemOriginationCode() {
48 return financialSystemOriginationCode;
49 }
50
51 /**
52 * Sets the financialSystemOriginationCode attribute.
53 *
54 * @param financialSystemOriginationCode The financialSystemOriginationCode to set.
55 */
56 public void setFinancialSystemOriginationCode(String financialSystemOriginationCode) {
57 this.financialSystemOriginationCode = financialSystemOriginationCode;
58 }
59
60
61 /**
62 * Gets the financialSystemMessageOfTheDayText attribute.
63 *
64 * @return Returns the financialSystemMessageOfTheDayText
65 */
66 public String getFinancialSystemMessageOfTheDayText() {
67 return financialSystemMessageOfTheDayText;
68 }
69
70 /**
71 * Sets the financialSystemMessageOfTheDayText attribute.
72 *
73 * @param financialSystemMessageOfTheDayText The financialSystemMessageOfTheDayText to set.
74 */
75 public void setFinancialSystemMessageOfTheDayText(String financialSystemMessageOfTheDayText) {
76 this.financialSystemMessageOfTheDayText = financialSystemMessageOfTheDayText;
77 }
78
79 /**
80 * Gets the financialSystemOrigination attribute.
81 *
82 * @return Returns the financialSystemOrigination.
83 */
84 public OriginationCode getFinancialSystemOrigination() {
85 return financialSystemOrigination;
86 }
87
88 /**
89 * Sets the financialSystemOrigination attribute value.
90 *
91 * @param financialSystemOrigination The financialSystemOrigination to set.
92 * @deprecated
93 */
94 public void setFinancialSystemOrigination(OriginationCode financialSystemOrigination) {
95 this.financialSystemOrigination = financialSystemOrigination;
96 }
97
98 /**
99 * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
100 */
101 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
102 LinkedHashMap m = new LinkedHashMap();
103 m.put("financialSystemOriginationCode", this.financialSystemOriginationCode);
104 return m;
105 }
106
107 }