001/*
002 * Copyright 2007 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 */
016package org.kuali.ole.pdp.businessobject;
017
018import java.util.Date;
019import java.util.LinkedHashMap;
020import java.util.List;
021
022import org.kuali.ole.pdp.PdpPropertyConstants;
023import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
024
025public class FormatSelection extends TransientBusinessObjectBase {
026    String campus;
027    Date startDate;
028    List customerList;
029    List rangeList;
030
031    public FormatSelection() {
032        super();
033    }
034
035    public String getCampus() {
036        return campus;
037    }
038
039    public void setCampus(String campus) {
040        this.campus = campus;
041    }
042
043    public List getCustomerList() {
044        return customerList;
045    }
046
047    public void setCustomerList(List customerList) {
048        this.customerList = customerList;
049    }
050
051    public List getRangeList() {
052        return rangeList;
053    }
054
055    public void setRangeList(List rangeList) {
056        this.rangeList = rangeList;
057    }
058
059    public Date getStartDate() {
060        return startDate;
061    }
062
063    public void setStartDate(Date startDate) {
064        this.startDate = startDate;
065    }
066
067    
068    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
069        LinkedHashMap m = new LinkedHashMap(); 
070        
071        m.put(PdpPropertyConstants.FormatSelection.CAMPUS, this.campus);
072        m.put(PdpPropertyConstants.FormatSelection.START_DATE, this.startDate);
073        m.put(PdpPropertyConstants.FormatSelection.CUSTOMER_LIST, this.customerList);
074        m.put(PdpPropertyConstants.FormatSelection.RANGE_LIST, this.rangeList);
075        
076        return m;
077    }
078}