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.endow.businessobject;
017
018 import java.sql.Date;
019 import java.util.LinkedHashMap;
020
021 import org.apache.commons.lang.StringUtils;
022 import org.kuali.kfs.module.endow.EndowPropertyConstants;
023 import org.kuali.kfs.sys.KFSConstants;
024 import org.kuali.rice.kns.bo.Inactivateable;
025 import org.kuali.rice.kns.bo.KualiCodeBase;
026 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
027
028 public class TicklerKEMID extends PersistableBusinessObjectBase implements Inactivateable
029 {
030 private String number;
031 private String kemId;
032 private boolean active;
033
034 private KEMID kemIdLookup;
035
036 /**
037 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
038 */
039 @Override
040 protected LinkedHashMap<String, String> toStringMapper()
041 {
042 LinkedHashMap<String, String> m = new LinkedHashMap<String, String>();
043 m.put(EndowPropertyConstants.TICKLER_NUMBER,getNumber());
044 m.put(EndowPropertyConstants.TICKLER_KEMID,getKemId());
045 return m;
046 }
047
048 public boolean isActive() {
049 return active;
050 }
051
052 public void setActive(boolean active) {
053 this.active = active;
054 }
055
056 public String getNumber() {
057 return number;
058 }
059
060 public void setNumber(String number) {
061 this.number = number;
062 }
063
064 public String getKemId() {
065 return kemId;
066 }
067
068 public void setKemId(String kemId) {
069 this.kemId = kemId;
070 }
071
072 public KEMID getKemIdLookup() {
073 return kemIdLookup;
074 }
075
076 public void setKemIdLookup(KEMID kemIdLookup) {
077 this.kemIdLookup = kemIdLookup;
078 }
079
080 }
081