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 package org.kuali.kfs.sys.businessobject;
018
019 import java.util.LinkedHashMap;
020
021 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
022
023
024 /**
025 *
026 */
027 public class HomeOrigination extends PersistableBusinessObjectBase {
028
029 private String finSystemHomeOriginationCode;
030 private OriginationCode originationCode;
031
032
033 /**
034 * Default no-arg constructor.
035 */
036 public HomeOrigination() {
037 super();
038 }
039
040 /**
041 * Gets the finSystemHomeOriginationCode attribute.
042 *
043 * @return Returns the finSystemHomeOriginationCode
044 */
045 public String getFinSystemHomeOriginationCode() {
046 return finSystemHomeOriginationCode;
047 }
048
049
050 /**
051 * Sets the finSystemHomeOriginationCode attribute.
052 *
053 * @param finSystemHomeOriginationCode The finSystemHomeOriginationCode to set.
054 */
055 public void setFinSystemHomeOriginationCode(String finSystemHomeOriginationCode) {
056 this.finSystemHomeOriginationCode = finSystemHomeOriginationCode;
057 }
058
059 /**
060 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
061 */
062 protected LinkedHashMap toStringMapper() {
063 LinkedHashMap m = new LinkedHashMap();
064 m.put("finSystemHomeOriginationCode", this.finSystemHomeOriginationCode);
065 return m;
066 }
067
068 public OriginationCode getOriginationCode() {
069 return originationCode;
070 }
071
072 public void setOriginationCode(OriginationCode originationCode) {
073 this.originationCode = originationCode;
074 }
075 }