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.DocumentHeader;
022: import org.kuali.core.bo.PersistableBusinessObjectBase;
023:
024: /**
025: * Capital Asset Management Business Object.
026: */
027: public class CapitalAssetManagement extends
028: PersistableBusinessObjectBase {
029:
030: private Integer capitalAssetManagementDocumentIdentifier;
031: private Integer purchaseOrderIdentifier;
032: private String documentHeaderIdentifier;
033: private String capitalAssetManagementStatusCode;
034: private boolean capitalAssetManagementTypeIndicator;
035: private Integer capitalAssetManagementSystemIdentifier;
036: private String capitalAssetManagementComplexSystemDescription;
037:
038: private DocumentHeader documentHeader;
039: private CapitalAssetManagementStatus capitalAssetManagementStatus;
040:
041: /**
042: * Default constructor.
043: */
044: public CapitalAssetManagement() {
045:
046: }
047:
048: public String getCapitalAssetManagementComplexSystemDescription() {
049: return capitalAssetManagementComplexSystemDescription;
050: }
051:
052: public void setCapitalAssetManagementComplexSystemDescription(
053: String capitalAssetManagementComplexSystemDescription) {
054: this .capitalAssetManagementComplexSystemDescription = capitalAssetManagementComplexSystemDescription;
055: }
056:
057: public Integer getCapitalAssetManagementDocumentIdentifier() {
058: return capitalAssetManagementDocumentIdentifier;
059: }
060:
061: public void setCapitalAssetManagementDocumentIdentifier(
062: Integer capitalAssetManagementDocumentIdentifier) {
063: this .capitalAssetManagementDocumentIdentifier = capitalAssetManagementDocumentIdentifier;
064: }
065:
066: public CapitalAssetManagementStatus getCapitalAssetManagementStatus() {
067: return capitalAssetManagementStatus;
068: }
069:
070: /**
071: * @deprecated
072: */
073: public void setCapitalAssetManagementStatus(
074: CapitalAssetManagementStatus capitalAssetManagementStatus) {
075: this .capitalAssetManagementStatus = capitalAssetManagementStatus;
076: }
077:
078: public String getCapitalAssetManagementStatusCode() {
079: return capitalAssetManagementStatusCode;
080: }
081:
082: public void setCapitalAssetManagementStatusCode(
083: String capitalAssetManagementStatusCode) {
084: this .capitalAssetManagementStatusCode = capitalAssetManagementStatusCode;
085: }
086:
087: public Integer getCapitalAssetManagementSystemIdentifier() {
088: return capitalAssetManagementSystemIdentifier;
089: }
090:
091: public void setCapitalAssetManagementSystemIdentifier(
092: Integer capitalAssetManagementSystemIdentifier) {
093: this .capitalAssetManagementSystemIdentifier = capitalAssetManagementSystemIdentifier;
094: }
095:
096: public boolean isCapitalAssetManagementTypeIndicator() {
097: return capitalAssetManagementTypeIndicator;
098: }
099:
100: public void setCapitalAssetManagementTypeIndicator(
101: boolean capitalAssetManagementTypeIndicator) {
102: this .capitalAssetManagementTypeIndicator = capitalAssetManagementTypeIndicator;
103: }
104:
105: public DocumentHeader getDocumentHeader() {
106: return documentHeader;
107: }
108:
109: /**
110: * @deprecated
111: */
112: public void setDocumentHeader(DocumentHeader documentHeader) {
113: this .documentHeader = documentHeader;
114: }
115:
116: public String getDocumentHeaderIdentifier() {
117: return documentHeaderIdentifier;
118: }
119:
120: public void setDocumentHeaderIdentifier(
121: String documentHeaderIdentifier) {
122: this .documentHeaderIdentifier = documentHeaderIdentifier;
123: }
124:
125: public Integer getPurchaseOrderIdentifier() {
126: return purchaseOrderIdentifier;
127: }
128:
129: public void setPurchaseOrderIdentifier(
130: Integer purchaseOrderIdentifier) {
131: this .purchaseOrderIdentifier = purchaseOrderIdentifier;
132: }
133:
134: /**
135: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
136: */
137: protected LinkedHashMap toStringMapper() {
138: LinkedHashMap m = new LinkedHashMap();
139: if (this .capitalAssetManagementDocumentIdentifier != null) {
140: m.put("capitalAssetManagementDocumentIdentifier",
141: this.capitalAssetManagementDocumentIdentifier
142: .toString());
143: }
144: return m;
145: }
146: }
|