001 package org.kuali.ole.license.bo;
002
003 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
004
005 import java.util.LinkedHashMap;
006
007 /**
008 * OleLicenseRequestLocation is the business object class for License Request Document Location Maintenance Document.
009 */
010 public class OleLicenseRequestLocation extends PersistableBusinessObjectBase {
011
012 private String id;
013 private String name;
014 private String description;
015 private boolean active;
016
017 /**
018 * Gets the id attribute.
019 * @return Returns the id
020 */
021 public String getId() {
022 return id;
023 }
024
025 /**
026 * Sets the id attribute value.
027 * @param id The id to set.
028 */
029 public void setId(String id) {
030 this.id = id;
031 }
032
033 /**
034 * Gets the name attribute.
035 * @return Returns the name
036 */
037 public String getName() {
038 return name;
039 }
040
041 /**
042 * Sets the name attribute value.
043 * @param name The name to set.
044 */
045 public void setName(String name) {
046 this.name = name;
047 }
048
049 /**
050 * Gets the description attribute.
051 * @return Returns the description
052 */
053 public String getDescription() {
054 return description;
055 }
056
057 /**
058 * Sets the description attribute value.
059 * @param description The description to set.
060 */
061 public void setDescription(String description) {
062 this.description = description;
063 }
064
065 /**
066 * Gets the active attribute.
067 * @return Returns the active
068 */
069 public boolean isActive() {
070 return active;
071 }
072
073 /**
074 * Sets the active attribute value.
075 * @param active The active to set.
076 */
077 public void setActive(boolean active) {
078 this.active = active;
079 }
080
081 /**
082 * Gets the toStringMap attribute.
083 * @return Returns the toStringMap
084 */
085 protected LinkedHashMap toStringMapper() {
086 LinkedHashMap toStringMap = new LinkedHashMap();
087 toStringMap.put("id",id);
088 return toStringMap;
089 }
090 }