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: * Requisition Item Capital Asset Business Object.
025: */
026: public class RequisitionItemCapitalAsset extends
027: PersistableBusinessObjectBase {
028:
029: private Integer requisitionItemCapitalAssetIdentifier;
030: private Integer requisitionItemIdentifier;
031: private Long capitalAssetNumber;
032: private String addCapitalAssetNumber;
033:
034: private RequisitionItem requisitionItem;
035:
036: /**
037: * Default constructor.
038: */
039: public RequisitionItemCapitalAsset() {
040:
041: }
042:
043: public Integer getRequisitionItemCapitalAssetIdentifier() {
044: return requisitionItemCapitalAssetIdentifier;
045: }
046:
047: public void setRequisitionItemCapitalAssetIdentifier(
048: Integer requisitionItemCapitalAssetIdentifier) {
049: this .requisitionItemCapitalAssetIdentifier = requisitionItemCapitalAssetIdentifier;
050: }
051:
052: public Integer getRequisitionItemIdentifier() {
053: return requisitionItemIdentifier;
054: }
055:
056: public void setRequisitionItemIdentifier(
057: Integer requisitionItemIdentifier) {
058: this .requisitionItemIdentifier = requisitionItemIdentifier;
059: }
060:
061: public Long getCapitalAssetNumber() {
062: return capitalAssetNumber;
063: }
064:
065: public void setCapitalAssetNumber(Long capitalAssetNumber) {
066: this .capitalAssetNumber = capitalAssetNumber;
067: }
068:
069: public RequisitionItem getRequisitionItem() {
070: return requisitionItem;
071: }
072:
073: public String getAddCapitalAssetNumber() {
074: return addCapitalAssetNumber;
075: }
076:
077: public void setAddCapitalAssetNumber(String addCapitalAssetNumber) {
078: this .addCapitalAssetNumber = addCapitalAssetNumber;
079: }
080:
081: /**
082: * Sets the requisitionItem attribute.
083: *
084: * @param requisitionItem The requisitionItem to set.
085: * @deprecated
086: */
087: public void setRequisitionItem(RequisitionItem requisitionItem) {
088: this .requisitionItem = requisitionItem;
089: }
090:
091: /**
092: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
093: */
094: protected LinkedHashMap toStringMapper() {
095: LinkedHashMap m = new LinkedHashMap();
096: if (this .requisitionItemCapitalAssetIdentifier != null) {
097: m.put("requisitionItemCapitalAssetIdentifier",
098: this.requisitionItemCapitalAssetIdentifier
099: .toString());
100: }
101: return m;
102: }
103:
104: }
|