001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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.module.purap.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.Campus;
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023: import org.kuali.kfs.bo.Country;
024: import org.kuali.kfs.bo.State;
025:
026: /**
027: * Campus Parameter Business Object. Maintenance document for campus parameters.
028: */
029: public class CampusParameter extends PersistableBusinessObjectBase {
030:
031: private String campusCode;
032: private String campusPurchasingDirectorName;
033: private String campusPurchasingDirectorTitle;
034: private String campusAccountsPayableEmailAddress;
035: private String purchasingInstitutionName;
036: private String purchasingDepartmentName;
037: private String purchasingDepartmentLine1Address;
038: private String purchasingDepartmentLine2Address;
039: private String purchasingDepartmentCityName;
040: private String purchasingDepartmentStateCode;
041: private String purchasingDepartmentZipCode;
042: private String purchasingDepartmentCountryCode;
043:
044: private Campus campus;
045: private State purchasingDepartmentState;
046: private Country purchasingDepartmentCountry;
047:
048: /**
049: * Default constructor.
050: */
051: public CampusParameter() {
052:
053: }
054:
055: public Campus getCampus() {
056: return campus;
057: }
058:
059: /**
060: * @deprecated
061: */
062: public void setCampus(Campus campus) {
063: this .campus = campus;
064: }
065:
066: public String getCampusAccountsPayableEmailAddress() {
067: return campusAccountsPayableEmailAddress;
068: }
069:
070: public void setCampusAccountsPayableEmailAddress(
071: String campusAccountsPayableEmailAddress) {
072: this .campusAccountsPayableEmailAddress = campusAccountsPayableEmailAddress;
073: }
074:
075: public String getCampusCode() {
076: return campusCode;
077: }
078:
079: public void setCampusCode(String campusCode) {
080: this .campusCode = campusCode;
081: }
082:
083: public String getCampusPurchasingDirectorName() {
084: return campusPurchasingDirectorName;
085: }
086:
087: public void setCampusPurchasingDirectorName(
088: String campusPurchasingDirectorName) {
089: this .campusPurchasingDirectorName = campusPurchasingDirectorName;
090: }
091:
092: public String getCampusPurchasingDirectorTitle() {
093: return campusPurchasingDirectorTitle;
094: }
095:
096: public void setCampusPurchasingDirectorTitle(
097: String campusPurchasingDirectorTitle) {
098: this .campusPurchasingDirectorTitle = campusPurchasingDirectorTitle;
099: }
100:
101: public String getPurchasingDepartmentCityName() {
102: return purchasingDepartmentCityName;
103: }
104:
105: public void setPurchasingDepartmentCityName(
106: String purchasingDepartmentCityName) {
107: this .purchasingDepartmentCityName = purchasingDepartmentCityName;
108: }
109:
110: public Country getPurchasingDepartmentCountry() {
111: return purchasingDepartmentCountry;
112: }
113:
114: /**
115: * @deprecated
116: */
117: public void setPurchasingDepartmentCountry(
118: Country purchasingDepartmentCountry) {
119: this .purchasingDepartmentCountry = purchasingDepartmentCountry;
120: }
121:
122: public String getPurchasingDepartmentCountryCode() {
123: return purchasingDepartmentCountryCode;
124: }
125:
126: public void setPurchasingDepartmentCountryCode(
127: String purchasingDepartmentCountryCode) {
128: this .purchasingDepartmentCountryCode = purchasingDepartmentCountryCode;
129: }
130:
131: public String getPurchasingDepartmentLine1Address() {
132: return purchasingDepartmentLine1Address;
133: }
134:
135: public void setPurchasingDepartmentLine1Address(
136: String purchasingDepartmentLine1Address) {
137: this .purchasingDepartmentLine1Address = purchasingDepartmentLine1Address;
138: }
139:
140: public String getPurchasingDepartmentLine2Address() {
141: return purchasingDepartmentLine2Address;
142: }
143:
144: public void setPurchasingDepartmentLine2Address(
145: String purchasingDepartmentLine2Address) {
146: this .purchasingDepartmentLine2Address = purchasingDepartmentLine2Address;
147: }
148:
149: public String getPurchasingDepartmentName() {
150: return purchasingDepartmentName;
151: }
152:
153: public void setPurchasingDepartmentName(
154: String purchasingDepartmentName) {
155: this .purchasingDepartmentName = purchasingDepartmentName;
156: }
157:
158: public State getPurchasingDepartmentState() {
159: return purchasingDepartmentState;
160: }
161:
162: /**
163: * @deprecated
164: */
165: public void setPurchasingDepartmentState(
166: State purchasingDepartmentState) {
167: this .purchasingDepartmentState = purchasingDepartmentState;
168: }
169:
170: public String getPurchasingDepartmentStateCode() {
171: return purchasingDepartmentStateCode;
172: }
173:
174: public void setPurchasingDepartmentStateCode(
175: String purchasingDepartmentStateCode) {
176: this .purchasingDepartmentStateCode = purchasingDepartmentStateCode;
177: }
178:
179: public String getPurchasingDepartmentZipCode() {
180: return purchasingDepartmentZipCode;
181: }
182:
183: public void setPurchasingDepartmentZipCode(
184: String purchasingDepartmentZipCode) {
185: this .purchasingDepartmentZipCode = purchasingDepartmentZipCode;
186: }
187:
188: public String getPurchasingInstitutionName() {
189: return purchasingInstitutionName;
190: }
191:
192: public void setPurchasingInstitutionName(
193: String purchasingInstitutionName) {
194: this .purchasingInstitutionName = purchasingInstitutionName;
195: }
196:
197: /**
198: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
199: */
200: protected LinkedHashMap toStringMapper() {
201: LinkedHashMap m = new LinkedHashMap();
202: m.put("campusCode", this.campusCode);
203: return m;
204: }
205: }
|