001 /* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 2.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/ecl2.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 package org.kuali.kfs.module.purap.businessobject; 017 018 import org.kuali.kfs.integration.cab.CapitalAssetBuilderAssetTransactionType; 019 import org.kuali.kfs.integration.purap.CapitalAssetSystem; 020 import org.kuali.kfs.integration.purap.ItemCapitalAsset; 021 import org.kuali.kfs.module.purap.document.PurchasingDocument; 022 import org.kuali.rice.kns.bo.ExternalizableBusinessObject; 023 024 025 public interface PurchasingCapitalAssetItem { 026 027 public Integer getCapitalAssetItemIdentifier(); 028 029 public void setCapitalAssetItemIdentifier(Integer capitalAssetItemIdentifier); 030 031 public Integer getItemIdentifier(); 032 033 public void setItemIdentifier(Integer itemIdentifier); 034 035 public String getCapitalAssetTransactionTypeCode(); 036 037 public void setCapitalAssetTransactionTypeCode(String capitalAssetTransactionTypeCode); 038 039 public Integer getCapitalAssetSystemIdentifier(); 040 041 public void setCapitalAssetSystemIdentifier(Integer capitalAssetSystemIdentifier); 042 043 public CapitalAssetBuilderAssetTransactionType getCapitalAssetTransactionType(); 044 045 public CapitalAssetSystem getPurchasingCapitalAssetSystem(); 046 047 public void setPurchasingCapitalAssetSystem(CapitalAssetSystem purchasingCapitalAssetSystem); 048 049 public PurchasingDocument getPurchasingDocument(); 050 051 public void setPurchasingDocument(PurchasingDocument pd); 052 053 public PurchasingItem getPurchasingItem(); 054 055 public boolean isEmpty(); 056 057 public ItemCapitalAsset getNewPurchasingItemCapitalAssetLine(); 058 059 public ItemCapitalAsset getAndResetNewPurchasingItemCapitalAssetLine(); 060 061 062 }