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.ar.businessobject;
017    
018    import java.util.LinkedHashMap;
019    
020    import org.kuali.rice.kns.bo.Inactivateable;
021    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
022    
023    /**
024     * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)
025     */
026    
027    public class PrintInvoiceOptions extends PersistableBusinessObjectBase implements Inactivateable {
028    
029            private String printInvoiceIndicator;
030            private String printInvoiceDescription;
031            private boolean active;
032    
033            /**
034             * Default constructor.
035             */
036            public PrintInvoiceOptions() {
037    
038            }
039    
040            /**
041             * Gets the printInvoiceIndicator attribute.
042             * 
043             * @return Returns the printInvoiceIndicator
044             * 
045             */
046            public String getPrintInvoiceIndicator() { 
047                    return printInvoiceIndicator;
048            }
049    
050            /**
051             * Sets the printInvoiceIndicator attribute.
052             * 
053             * @param printInvoiceIndicator The printInvoiceIndicator to set.
054             * 
055             */
056            public void setPrintInvoiceIndicator(String printInvoiceIndicator) {
057                    this.printInvoiceIndicator = printInvoiceIndicator;
058            }
059    
060    
061            /**
062             * Gets the printInvoiceDescription attribute.
063             * 
064             * @return Returns the printInvoiceDescription
065             * 
066             */
067            public String getPrintInvoiceDescription() { 
068                    return printInvoiceDescription;
069            }
070    
071            /**
072             * Sets the printInvoiceDescription attribute.
073             * 
074             * @param printInvoiceDescription The printInvoiceDescription to set.
075             * 
076             */
077            public void setPrintInvoiceDescription(String printInvoiceDescription) {
078                    this.printInvoiceDescription = printInvoiceDescription;
079            }
080    
081    
082            /**
083             * Gets the active attribute.
084             * 
085             * @return Returns the active
086             * 
087             */
088            public boolean isActive() { 
089                    return active;
090            }
091    
092            /**
093             * Sets the active attribute.
094             * 
095             * @param active The active to set.
096             * 
097             */
098            public void setActive(boolean active) {
099                    this.active = active;
100            }
101    
102    
103            /**
104             * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
105             */
106            protected LinkedHashMap toStringMapper() {
107                LinkedHashMap m = new LinkedHashMap();          
108            m.put("printInvoiceIndicator", this.printInvoiceIndicator);
109                return m;
110        }
111    }