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    /*
017     * Created on Jul 9, 2004
018     *
019     */
020    package org.kuali.kfs.pdp.businessobject;
021    
022    import java.util.LinkedHashMap;
023    
024    import org.kuali.kfs.sys.KFSPropertyConstants;
025    import org.kuali.kfs.sys.businessobject.TimestampedBusinessObjectBase;
026    import org.kuali.rice.kns.util.KualiInteger;
027    
028    public class AchAccountNumber extends TimestampedBusinessObjectBase {
029    
030        private KualiInteger id;
031        private String achBankAccountNbr;
032    
033        public AchAccountNumber() {
034            super();
035        }
036    
037    
038        /**
039         * Gets the id attribute.
040         * 
041         * @return Returns the id.
042         */
043        public KualiInteger getId() {
044            return id;
045        }
046    
047    
048        /**
049         * Sets the id attribute value.
050         * 
051         * @param id The id to set.
052         */
053        public void setId(KualiInteger id) {
054            this.id = id;
055        }
056    
057    
058        /**
059         * Gets the achBankAccountNbr attribute.
060         * 
061         * @return Returns the achBankAccountNbr.
062         */
063        public String getAchBankAccountNbr() {
064            return achBankAccountNbr;
065        }
066    
067    
068        /**
069         * Sets the achBankAccountNbr attribute value.
070         * 
071         * @param achBankAccountNbr The achBankAccountNbr to set.
072         */
073        public void setAchBankAccountNbr(String achBankAccountNbr) {
074            this.achBankAccountNbr = achBankAccountNbr;
075        }
076    
077    
078        /**
079         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
080         */
081        @Override
082        protected LinkedHashMap toStringMapper() {
083            LinkedHashMap m = new LinkedHashMap();
084            m.put(KFSPropertyConstants.ID, this.id);
085    
086            return m;
087        }
088    }