001    package org.kuali.ole.deliver.request.form;
002    
003    import org.kuali.ole.deliver.request.bo.OleDeliverRequestBo;
004    import org.kuali.rice.krad.web.form.UifFormBase;
005    
006    import java.util.ArrayList;
007    import java.util.List;
008    
009    /**
010     * Created with IntelliJ IDEA.
011     * User: ?
012     * Date: 10/3/12
013     * Time: 5:45 PM
014     * To change this template use File | Settings | File Templates.
015     */
016    public class OleDeliverRequestReOrderForm extends UifFormBase {
017    
018        private String itemId;
019        private String message;
020        private int size;
021        private String itemUuid;
022    
023        private List<OleDeliverRequestBo> deliverRequestBos = new ArrayList<OleDeliverRequestBo>();
024    
025        public String getItemUuid() {
026            return itemUuid;
027        }
028    
029        public void setItemUuid(String itemUuid) {
030            this.itemUuid = itemUuid;
031        }
032    
033        public String getItemId() {
034            return itemId;
035        }
036    
037        public void setItemId(String itemId) {
038            this.itemId = itemId;
039        }
040    
041        public String getMessage() {
042            return message;
043        }
044    
045        public void setMessage(String message) {
046            this.message = message;
047        }
048    
049        public int getSize() {
050    if(deliverRequestBos!=null &&  deliverRequestBos.size()>0)
051            return deliverRequestBos.size();
052                    return size;
053        }
054    
055        public void setSize(int size) {
056            this.size = deliverRequestBos.size();
057        }
058    
059        public List<OleDeliverRequestBo> getDeliverRequestBos() {
060            return deliverRequestBos;
061        }
062    
063        public void setDeliverRequestBos(List<OleDeliverRequestBo> deliverRequestBos) {
064            this.deliverRequestBos = deliverRequestBos;
065    
066        }
067    }