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 java.util.List;
019    
020    import org.kuali.rice.kns.bo.Note;
021    
022    /**
023     * Bulk Receiving View Business Object.
024     */
025    public class BulkReceivingView extends AbstractRelatedView {
026        private Integer purchaseOrderIdentifier;
027        private boolean deliveryBuildingOtherIndicator;
028        
029        public boolean isDeliveryBuildingOtherIndicator() {
030            return deliveryBuildingOtherIndicator;
031        }
032    
033        public void setDeliveryBuildingOtherIndicator(boolean deliveryBuildingOtherIndicator) {
034            this.deliveryBuildingOtherIndicator = deliveryBuildingOtherIndicator;
035        }
036    
037        public Integer getPurchaseOrderIdentifier() {
038            return purchaseOrderIdentifier;
039        }
040    
041        public void setPurchaseOrderIdentifier(Integer purchaseOrderIdentifier) {
042            this.purchaseOrderIdentifier = purchaseOrderIdentifier;
043        }
044    
045        /**
046         * The next three methods are overridden but shouldnt be! If they arent overridden, they dont show up in the tag, not sure why
047         * at this point! (AAP)
048         * 
049         * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getPurapDocumentIdentifier()
050         */
051        @Override
052        public Integer getPurapDocumentIdentifier() {
053            return super.getPurapDocumentIdentifier();
054        }
055    
056        @Override
057        public String getDocumentIdentifierString() {
058            return super.getDocumentIdentifierString();
059        }
060    
061        /**
062         * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getNotes()
063         */
064        @Override
065        public List<Note> getNotes() {
066            return super.getNotes();
067        }
068    
069        /**
070         * @see org.kuali.kfs.module.purap.businessobject.AbstractRelatedView#getUrl()
071         */
072        @Override
073        public String getUrl() {
074            return super.getUrl();
075        }
076    }