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:
023: /**
024: * Capital Asset Management Item Business Object.
025: */
026: public class CapitalAssetManagementItem extends
027: PersistableBusinessObjectBase {
028:
029: private Integer capitalAssetManagementItemIdentifier;
030: private Integer capitalAssetManagementDocumentIdentifier;
031: private Integer itemLineNumber;
032: private Integer purchaseOrderIdentifier;
033: private boolean capitalAssetManagementItemNotReceivedCurrentFiscalYearIndicator;
034: private String capitalAssetTypeCode;
035: private String capitalAssetTypeDescription;
036: private boolean capitalAssetManagementItemManufacturerIsVendorIndicator;
037: private String capitalAssetManagementItemManufacturerName;
038: private String capitalAssetManagementItemModelDescription;
039:
040: private CapitalAssetManagement capitalAssetManagementDocument;
041:
042: /**
043: * Default constructor.
044: */
045: public CapitalAssetManagementItem() {
046:
047: }
048:
049: public Integer getCapitalAssetManagementDocumentIdentifier() {
050: return capitalAssetManagementDocumentIdentifier;
051: }
052:
053: public void setCapitalAssetManagementDocumentIdentifier(
054: Integer capitalAssetManagementDocumentIdentifier) {
055: this .capitalAssetManagementDocumentIdentifier = capitalAssetManagementDocumentIdentifier;
056: }
057:
058: public Integer getCapitalAssetManagementItemIdentifier() {
059: return capitalAssetManagementItemIdentifier;
060: }
061:
062: public void setCapitalAssetManagementItemIdentifier(
063: Integer capitalAssetManagementItemIdentifier) {
064: this .capitalAssetManagementItemIdentifier = capitalAssetManagementItemIdentifier;
065: }
066:
067: public boolean isCapitalAssetManagementItemManufacturerIsVendorIndicator() {
068: return capitalAssetManagementItemManufacturerIsVendorIndicator;
069: }
070:
071: public void setCapitalAssetManagementItemManufacturerIsVendorIndicator(
072: boolean capitalAssetManagementItemManufacturerIsVendorIndicator) {
073: this .capitalAssetManagementItemManufacturerIsVendorIndicator = capitalAssetManagementItemManufacturerIsVendorIndicator;
074: }
075:
076: public String getCapitalAssetManagementItemManufacturerName() {
077: return capitalAssetManagementItemManufacturerName;
078: }
079:
080: public void setCapitalAssetManagementItemManufacturerName(
081: String capitalAssetManagementItemManufacturerName) {
082: this .capitalAssetManagementItemManufacturerName = capitalAssetManagementItemManufacturerName;
083: }
084:
085: public String getCapitalAssetManagementItemModelDescription() {
086: return capitalAssetManagementItemModelDescription;
087: }
088:
089: public void setCapitalAssetManagementItemModelDescription(
090: String capitalAssetManagementItemModelDescription) {
091: this .capitalAssetManagementItemModelDescription = capitalAssetManagementItemModelDescription;
092: }
093:
094: public boolean isCapitalAssetManagementItemNotReceivedCurrentFiscalYearIndicator() {
095: return capitalAssetManagementItemNotReceivedCurrentFiscalYearIndicator;
096: }
097:
098: public void setCapitalAssetManagementItemNotReceivedCurrentFiscalYearIndicator(
099: boolean capitalAssetManagementItemNotReceivedCurrentFiscalYearIndicator) {
100: this .capitalAssetManagementItemNotReceivedCurrentFiscalYearIndicator = capitalAssetManagementItemNotReceivedCurrentFiscalYearIndicator;
101: }
102:
103: public String getCapitalAssetTypeCode() {
104: return capitalAssetTypeCode;
105: }
106:
107: public void setCapitalAssetTypeCode(String capitalAssetTypeCode) {
108: this .capitalAssetTypeCode = capitalAssetTypeCode;
109: }
110:
111: public String getCapitalAssetTypeDescription() {
112: return capitalAssetTypeDescription;
113: }
114:
115: public void setCapitalAssetTypeDescription(
116: String capitalAssetTypeDescription) {
117: this .capitalAssetTypeDescription = capitalAssetTypeDescription;
118: }
119:
120: public Integer getItemLineNumber() {
121: return itemLineNumber;
122: }
123:
124: public void setItemLineNumber(Integer itemLineNumber) {
125: this .itemLineNumber = itemLineNumber;
126: }
127:
128: public Integer getPurchaseOrderIdentifier() {
129: return purchaseOrderIdentifier;
130: }
131:
132: public void setPurchaseOrderIdentifier(
133: Integer purchaseOrderIdentifier) {
134: this .purchaseOrderIdentifier = purchaseOrderIdentifier;
135: }
136:
137: public CapitalAssetManagement getCapitalAssetManagementDocument() {
138: return capitalAssetManagementDocument;
139: }
140:
141: /**
142: * @deprecated
143: */
144: public void setCapitalAssetManagementDocument(
145: CapitalAssetManagement capitalAssetManagementDocument) {
146: this .capitalAssetManagementDocument = capitalAssetManagementDocument;
147: }
148:
149: /**
150: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
151: */
152: protected LinkedHashMap toStringMapper() {
153: LinkedHashMap m = new LinkedHashMap();
154: if (this .capitalAssetManagementItemIdentifier != null) {
155: m.put("capitalAssetManagementItemIdentifier",
156: this.capitalAssetManagementItemIdentifier
157: .toString());
158: }
159: return m;
160: }
161: }
|