001: /*
002: * Copyright 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: package org.kuali.module.purap.bo;
017:
018: import java.math.BigDecimal;
019: import java.util.List;
020:
021: import org.apache.ojb.broker.PersistenceBrokerAware;
022: import org.kuali.core.bo.PersistableBusinessObject;
023: import org.kuali.core.util.KualiDecimal;
024:
025: /**
026: * Purap Item Business Object.
027: */
028: public interface PurApItem extends PersistableBusinessObject,
029: PersistenceBrokerAware {
030:
031: public abstract Integer getItemIdentifier();
032:
033: public abstract void setItemIdentifier(Integer ItemIdentifier);
034:
035: public abstract Integer getItemLineNumber();
036:
037: public abstract void setItemLineNumber(Integer itemLineNumber);
038:
039: public abstract String getCapitalAssetTransactionTypeCode();
040:
041: public abstract void setCapitalAssetTransactionTypeCode(
042: String capitalAssetTransactionTypeCode);
043:
044: public abstract String getItemUnitOfMeasureCode();
045:
046: public abstract void setItemUnitOfMeasureCode(
047: String itemUnitOfMeasureCode);
048:
049: public abstract String getItemCatalogNumber();
050:
051: public abstract void setItemCatalogNumber(String itemCatalogNumber);
052:
053: public abstract String getItemDescription();
054:
055: public abstract void setItemDescription(String itemDescription);
056:
057: public abstract String getItemCapitalAssetNoteText();
058:
059: public abstract void setItemCapitalAssetNoteText(
060: String itemCapitalAssetNoteText);
061:
062: public abstract BigDecimal getItemUnitPrice();
063:
064: public abstract void setItemUnitPrice(BigDecimal itemUnitPrice);
065:
066: public abstract String getItemTypeCode();
067:
068: public abstract void setItemTypeCode(String itemTypeCode);
069:
070: public abstract String getItemAuxiliaryPartIdentifier();
071:
072: public abstract void setItemAuxiliaryPartIdentifier(
073: String itemAuxiliaryPartIdentifier);
074:
075: public abstract String getExternalOrganizationB2bProductReferenceNumber();
076:
077: public abstract void setExternalOrganizationB2bProductReferenceNumber(
078: String externalOrganizationB2bProductReferenceNumber);
079:
080: public abstract String getExternalOrganizationB2bProductTypeName();
081:
082: public abstract void setExternalOrganizationB2bProductTypeName(
083: String externalOrganizationB2bProductTypeName);
084:
085: public abstract boolean getItemAssignedToTradeInIndicator();
086:
087: public abstract void setItemAssignedToTradeInIndicator(
088: boolean itemAssignedToTradeInIndicator);
089:
090: public abstract CapitalAssetTransactionType getCapitalAssetTransactionType();
091:
092: /**
093: * Sets the capitalAssetTransactionType attribute.
094: *
095: * @param capitalAssetTransactionType The capitalAssetTransactionType to set.
096: * @deprecated
097: */
098: public abstract void setCapitalAssetTransactionType(
099: CapitalAssetTransactionType capitalAssetTransactionType);
100:
101: public abstract ItemType getItemType();
102:
103: /**
104: * Sets the itemType attribute.
105: *
106: * @param itemType The itemType to set.
107: * @deprecated
108: */
109: public abstract void setItemType(ItemType itemType);
110:
111: /**
112: * This method resets the transient new account method
113: */
114: public void resetAccount();
115:
116: public KualiDecimal getExtendedPrice();
117:
118: public KualiDecimal calculateExtendedPrice();
119:
120: public void setExtendedPrice(KualiDecimal extendedPrice);
121:
122: public PurApAccountingLine getNewSourceLine();
123:
124: public void setNewSourceLine(PurApAccountingLine newAccountingLine);
125:
126: public abstract Class getAccountingLineClass();
127:
128: public List<PurApAccountingLine> getSourceAccountingLines();
129:
130: public List<PurApAccountingLine> getBaselineSourceAccountingLines();
131:
132: public KualiDecimal getItemQuantity();
133:
134: public void setItemQuantity(KualiDecimal itemQuantity);
135:
136: public String getItemIdentifierString();
137:
138: public abstract boolean isConsideredEntered();
139:
140: public PurApSummaryItem getSummaryItem();
141:
142: }
|