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.PersistableBusinessObjectBase;
022: import org.kuali.core.util.KualiDecimal;
023:
024: /**
025: * Capital Asset Management Item Location Business Object.
026: */
027: public class CapitalAssetManagementItemLocation extends
028: PersistableBusinessObjectBase {
029:
030: private Integer capitalAssetManagementItemLocationIdentifier;
031: private Integer capitalAssetManagementItemIdentifier;
032: private KualiDecimal capitalAssetManagementItemQuantity;
033: private String campusCode;
034: private boolean capitalAssetManagementOffCampusIndicator;
035: private String buildingCode;
036: private String buildingName;
037: private String buildingRoomNumber;
038: private String capitalAssetManagementItemAddress;
039: private String capitalAssetManagementItemCityName;
040: private String capitalAssetManagementItemStateCode;
041: private String capitalAssetManagementItemPostalCode;
042: private String capitalAssetManagementItemCountryCode;
043:
044: private CapitalAssetManagementItem capitalAssetManagementItem;
045:
046: /**
047: * Default constructor.
048: */
049: public CapitalAssetManagementItemLocation() {
050:
051: }
052:
053: public String getBuildingCode() {
054: return buildingCode;
055: }
056:
057: public void setBuildingCode(String buildingCode) {
058: this .buildingCode = buildingCode;
059: }
060:
061: public String getBuildingName() {
062: return buildingName;
063: }
064:
065: public void setBuildingName(String buildingName) {
066: this .buildingName = buildingName;
067: }
068:
069: public String getBuildingRoomNumber() {
070: return buildingRoomNumber;
071: }
072:
073: public void setBuildingRoomNumber(String buildingRoomNumber) {
074: this .buildingRoomNumber = buildingRoomNumber;
075: }
076:
077: public String getCampusCode() {
078: return campusCode;
079: }
080:
081: public void setCampusCode(String campusCode) {
082: this .campusCode = campusCode;
083: }
084:
085: public String getCapitalAssetManagementItemAddress() {
086: return capitalAssetManagementItemAddress;
087: }
088:
089: public void setCapitalAssetManagementItemAddress(
090: String capitalAssetManagementItemAddress) {
091: this .capitalAssetManagementItemAddress = capitalAssetManagementItemAddress;
092: }
093:
094: public String getCapitalAssetManagementItemCityName() {
095: return capitalAssetManagementItemCityName;
096: }
097:
098: public void setCapitalAssetManagementItemCityName(
099: String capitalAssetManagementItemCityName) {
100: this .capitalAssetManagementItemCityName = capitalAssetManagementItemCityName;
101: }
102:
103: public String getCapitalAssetManagementItemCountryCode() {
104: return capitalAssetManagementItemCountryCode;
105: }
106:
107: public void setCapitalAssetManagementItemCountryCode(
108: String capitalAssetManagementItemCountryCode) {
109: this .capitalAssetManagementItemCountryCode = capitalAssetManagementItemCountryCode;
110: }
111:
112: public Integer getCapitalAssetManagementItemIdentifier() {
113: return capitalAssetManagementItemIdentifier;
114: }
115:
116: public void setCapitalAssetManagementItemIdentifier(
117: Integer capitalAssetManagementItemIdentifier) {
118: this .capitalAssetManagementItemIdentifier = capitalAssetManagementItemIdentifier;
119: }
120:
121: public Integer getCapitalAssetManagementItemLocationIdentifier() {
122: return capitalAssetManagementItemLocationIdentifier;
123: }
124:
125: public void setCapitalAssetManagementItemLocationIdentifier(
126: Integer capitalAssetManagementItemLocationIdentifier) {
127: this .capitalAssetManagementItemLocationIdentifier = capitalAssetManagementItemLocationIdentifier;
128: }
129:
130: public String getCapitalAssetManagementItemPostalCode() {
131: return capitalAssetManagementItemPostalCode;
132: }
133:
134: public void setCapitalAssetManagementItemPostalCode(
135: String capitalAssetManagementItemPostalCode) {
136: this .capitalAssetManagementItemPostalCode = capitalAssetManagementItemPostalCode;
137: }
138:
139: public KualiDecimal getCapitalAssetManagementItemQuantity() {
140: return capitalAssetManagementItemQuantity;
141: }
142:
143: public void setCapitalAssetManagementItemQuantity(
144: KualiDecimal capitalAssetManagementItemQuantity) {
145: this .capitalAssetManagementItemQuantity = capitalAssetManagementItemQuantity;
146: }
147:
148: public String getCapitalAssetManagementItemStateCode() {
149: return capitalAssetManagementItemStateCode;
150: }
151:
152: public void setCapitalAssetManagementItemStateCode(
153: String capitalAssetManagementItemStateCode) {
154: this .capitalAssetManagementItemStateCode = capitalAssetManagementItemStateCode;
155: }
156:
157: public boolean isCapitalAssetManagementOffCampusIndicator() {
158: return capitalAssetManagementOffCampusIndicator;
159: }
160:
161: public void setCapitalAssetManagementOffCampusIndicator(
162: boolean capitalAssetManagementOffCampusIndicator) {
163: this .capitalAssetManagementOffCampusIndicator = capitalAssetManagementOffCampusIndicator;
164: }
165:
166: public CapitalAssetManagementItem getCapitalAssetManagementItem() {
167: return capitalAssetManagementItem;
168: }
169:
170: /**
171: * @deprecated
172: */
173: public void setCapitalAssetManagementItem(
174: CapitalAssetManagementItem capitalAssetManagementItem) {
175: this .capitalAssetManagementItem = capitalAssetManagementItem;
176: }
177:
178: /**
179: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
180: */
181: protected LinkedHashMap toStringMapper() {
182: LinkedHashMap m = new LinkedHashMap();
183: if (this .capitalAssetManagementItemLocationIdentifier != null) {
184: m.put("capitalAssetManagementItemLocationIdentifier",
185: this.capitalAssetManagementItemLocationIdentifier
186: .toString());
187: }
188: return m;
189: }
190: }
|