001package org.kuali.ole.select.bo; 002 003import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 004 005import java.util.LinkedHashMap; 006 007/** 008 * OleLicenseRequestStatus is the business object class for License Request Status Maintenance Document. 009 */ 010public class OleLicenseRequestStatus extends PersistableBusinessObjectBase { 011 012 private String code; 013 private String name; 014 private String description; 015 private boolean active; 016 017 /** 018 * Gets the code attribute. 019 * 020 * @return Returns the code 021 */ 022 public String getCode() { 023 return code; 024 } 025 026 /** 027 * Sets the code attribute value. 028 * 029 * @param code The code to set. 030 */ 031 public void setCode(String code) { 032 this.code = code; 033 } 034 035 /** 036 * Gets the name attribute. 037 * 038 * @return Returns the name 039 */ 040 public String getName() { 041 return name; 042 } 043 044 /** 045 * Sets the name attribute value. 046 * 047 * @param name The name to set. 048 */ 049 public void setName(String name) { 050 this.name = name; 051 } 052 053 /** 054 * Gets the description attribute. 055 * 056 * @return Returns the description 057 */ 058 public String getDescription() { 059 return description; 060 } 061 062 /** 063 * Sets the description attribute value. 064 * 065 * @param description The description to set. 066 */ 067 public void setDescription(String description) { 068 this.description = description; 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 toStringMapper attribute. 091 * 092 * @return Returns the toStringMapper 093 */ 094 protected LinkedHashMap toStringMapper() { 095 LinkedHashMap toStringMap = new LinkedHashMap(); 096 toStringMap.put("code", code); 097 toStringMap.put("name", name); 098 toStringMap.put("description", description); 099 toStringMap.put("active", active); 100 return toStringMapper(); 101 } 102}