001package org.kuali.ole.select.bo; 002 003import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 004 005import java.util.LinkedHashMap; 006 007/** 008 * OleAgreementMethod is business object class for Agreement Method Maintenance Document 009 */ 010public class OleAgreementMethod extends PersistableBusinessObjectBase { 011 012 private String agreementMethodId; 013 private String agreementMethodName; 014 private String agreementMethodDesc; 015 private boolean active; 016 017 /** 018 * Gets the agreementMethodId attribute. 019 * 020 * @return Returns the agreementMethodId 021 */ 022 public String getAgreementMethodId() { 023 return agreementMethodId; 024 } 025 026 /** 027 * Sets the agreementMethodId attribute value. 028 * 029 * @param agreementMethodId The agreementMethodId to set. 030 */ 031 public void setAgreementMethodId(String agreementMethodId) { 032 this.agreementMethodId = agreementMethodId; 033 } 034 035 /** 036 * Gets the agreementMethodName attribute. 037 * 038 * @return Returns the agreementMethodName 039 */ 040 public String getAgreementMethodName() { 041 return agreementMethodName; 042 } 043 044 /** 045 * Sets the agreementMethodName attribute value. 046 * 047 * @param agreementMethodName The agreementMethodName to set. 048 */ 049 public void setAgreementMethodName(String agreementMethodName) { 050 this.agreementMethodName = agreementMethodName; 051 } 052 053 /** 054 * Gets the agreementMethodDesc attribute value. 055 * 056 * @return agreementMethodDesc 057 */ 058 public String getAgreementMethodDesc() { 059 return agreementMethodDesc; 060 } 061 062 /** 063 * Sets the agreementMethodDesc attribute value. 064 * 065 * @param agreementMethodDesc 066 */ 067 public void setAgreementMethodDesc(String agreementMethodDesc) { 068 this.agreementMethodDesc = agreementMethodDesc; 069 } 070 071 /** 072 * Gets the active attribute. 073 * 074 * @return Returns the active 075 */ 076 public boolean isActive() { 077 return active; 078 } 079 080 /** 081 * Sets the active attribute value. 082 * 083 * @param active The active to set. 084 */ 085 public void setActive(boolean active) { 086 this.active = active; 087 } 088 089 /** 090 * Gets the toStringMap attribute. 091 * 092 * @return Returns the toStringMap 093 */ 094 protected LinkedHashMap toStringMapper() { 095 LinkedHashMap toStringMap = new LinkedHashMap(); 096 toStringMap.put("agreementMethodId", agreementMethodId); 097 toStringMap.put("agreementMethodName", agreementMethodName); 098 toStringMap.put("agreementMethodDesc", agreementMethodDesc); 099 toStringMap.put("active", active); 100 return toStringMap; 101 } 102 103}