001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 package org.kuali.kfs.module.bc.businessobject;
018
019 import java.util.LinkedHashMap;
020
021 import org.kuali.kfs.coa.businessobject.Chart;
022 import org.kuali.kfs.coa.businessobject.Organization;
023 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
024
025 /**
026 *
027 */
028 public class BudgetConstructionSalarySocialSecurityNumber extends PersistableBusinessObjectBase {
029
030 private String principalId;
031 private String organizationChartOfAccountsCode;
032 private String organizationCode;
033 private String name;
034 private String emplid;
035
036 private Chart organizationChartOfAccounts;
037 private Organization organization;
038
039 /**
040 * Default constructor.
041 */
042 public BudgetConstructionSalarySocialSecurityNumber() {
043
044 }
045
046 /**
047 * Gets the principalId attribute.
048 *
049 * @return Returns the principalId
050 */
051 public String getPrincipalId() {
052 return principalId;
053 }
054
055 /**
056 * Sets the principalId attribute.
057 *
058 * @param principalId The principalId to set.
059 */
060 public void setPrincipalId(String principalId) {
061 this.principalId = principalId;
062 }
063
064
065 /**
066 * Gets the organizationChartOfAccountsCode attribute.
067 *
068 * @return Returns the organizationChartOfAccountsCode
069 */
070 public String getOrganizationChartOfAccountsCode() {
071 return organizationChartOfAccountsCode;
072 }
073
074 /**
075 * Sets the organizationChartOfAccountsCode attribute.
076 *
077 * @param organizationChartOfAccountsCode The organizationChartOfAccountsCode to set.
078 */
079 public void setOrganizationChartOfAccountsCode(String organizationChartOfAccountsCode) {
080 this.organizationChartOfAccountsCode = organizationChartOfAccountsCode;
081 }
082
083
084 /**
085 * Gets the organizationCode attribute.
086 *
087 * @return Returns the organizationCode
088 */
089 public String getOrganizationCode() {
090 return organizationCode;
091 }
092
093 /**
094 * Sets the organizationCode attribute.
095 *
096 * @param organizationCode The organizationCode to set.
097 */
098 public void setOrganizationCode(String organizationCode) {
099 this.organizationCode = organizationCode;
100 }
101
102
103 /**
104 * Gets the name attribute.
105 *
106 * @return Returns the name
107 */
108 public String getName() {
109 return name;
110 }
111
112 /**
113 * Sets the name attribute.
114 *
115 * @param name The name to set.
116 */
117 public void setName(String name) {
118 this.name = name;
119 }
120
121
122 /**
123 * Gets the emplid attribute.
124 *
125 * @return Returns the emplid
126 */
127 public String getEmplid() {
128 return emplid;
129 }
130
131 /**
132 * Sets the emplid attribute.
133 *
134 * @param emplid The emplid to set.
135 */
136 public void setEmplid(String emplid) {
137 this.emplid = emplid;
138 }
139
140
141 /**
142 * Gets the organizationChartOfAccounts attribute.
143 *
144 * @return Returns the organizationChartOfAccounts
145 */
146 public Chart getOrganizationChartOfAccounts() {
147 return organizationChartOfAccounts;
148 }
149
150 /**
151 * Sets the organizationChartOfAccounts attribute.
152 *
153 * @param organizationChartOfAccounts The organizationChartOfAccounts to set.
154 * @deprecated
155 */
156 public void setOrganizationChartOfAccounts(Chart organizationChartOfAccounts) {
157 this.organizationChartOfAccounts = organizationChartOfAccounts;
158 }
159
160 /**
161 * Gets the organization attribute.
162 *
163 * @return Returns the organization
164 */
165 public Organization getOrganization() {
166 return organization;
167 }
168
169 /**
170 * Sets the organization attribute.
171 *
172 * @param organization The organization to set.
173 * @deprecated
174 */
175 public void setOrganization(Organization organization) {
176 this.organization = organization;
177 }
178
179 /**
180 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
181 */
182 protected LinkedHashMap toStringMapper() {
183 LinkedHashMap m = new LinkedHashMap();
184 m.put("principalId", this.principalId);
185 m.put("organizationChartOfAccountsCode", this.organizationChartOfAccountsCode);
186 m.put("organizationCode", this.organizationCode);
187 m.put("name", this.name);
188 m.put("emplid", this.emplid);
189 return m;
190 }
191 }
192