001package org.kuali.ole.describe.bo; 002 003import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 004 005import java.sql.Date; 006import java.util.LinkedHashMap; 007 008/** 009 * OleShelvingScheme is business object class for Shelving Scheme Maintenance Document 010 */ 011public class OleShelvingScheme extends PersistableBusinessObjectBase { 012 013 private Integer shelvingSchemeId; 014 private String shelvingSchemeCode; 015 private String shelvingSchemeName; 016 private String source; 017 private Date sourceDate; 018 private boolean active; 019 020 /** 021 * Gets the shelvingSchemeId attribute. 022 * 023 * @return Returns the shelvingSchemeId 024 */ 025 public Integer getShelvingSchemeId() { 026 return shelvingSchemeId; 027 } 028 029 /** 030 * Sets the shelvingSchemeId attribute value. 031 * 032 * @param shelvingSchemeId The shelvingSchemeId to set. 033 */ 034 public void setShelvingSchemeId(Integer shelvingSchemeId) { 035 this.shelvingSchemeId = shelvingSchemeId; 036 } 037 038 /** 039 * Gets the shelvingSchemeCode attribute. 040 * 041 * @return Returns the shelvingSchemeCode 042 */ 043 public String getShelvingSchemeCode() { 044 return shelvingSchemeCode; 045 } 046 047 /** 048 * Sets the shelvingSchemeCode attribute value. 049 * 050 * @param shelvingSchemeCode The shelvingSchemeCode to set. 051 */ 052 public void setShelvingSchemeCode(String shelvingSchemeCode) { 053 this.shelvingSchemeCode = shelvingSchemeCode; 054 } 055 056 /** 057 * Gets the shelvingSchemeName attribute. 058 * 059 * @return Returns the shelvingSchemeName 060 */ 061 public String getShelvingSchemeName() { 062 return shelvingSchemeName; 063 } 064 065 /** 066 * Sets the shelvingSchemeName attribute value. 067 * 068 * @param shelvingSchemeName The shelvingSchemeName to set. 069 */ 070 public void setShelvingSchemeName(String shelvingSchemeName) { 071 this.shelvingSchemeName = shelvingSchemeName; 072 } 073 074 /** 075 * Gets the source attribute. 076 * 077 * @return Returns the source 078 */ 079 public String getSource() { 080 return source; 081 } 082 083 /** 084 * Sets the source attribute value. 085 * 086 * @param source The source to set. 087 */ 088 public void setSource(String source) { 089 this.source = source; 090 } 091 092 /** 093 * Gets the sourceDate attribute. 094 * 095 * @return Returns the sourceDate 096 */ 097 public Date getSourceDate() { 098 return sourceDate; 099 } 100 101 /** 102 * Sets the sourceDate attribute value. 103 * 104 * @param sourceDate The sourceDate to set. 105 */ 106 public void setSourceDate(Date sourceDate) { 107 this.sourceDate = sourceDate; 108 } 109 110 /** 111 * Gets the active attribute. 112 * 113 * @return Returns the active 114 */ 115 public boolean isActive() { 116 return active; 117 } 118 119 /** 120 * Sets the active attribute value. 121 * 122 * @param active The active to set. 123 */ 124 public void setActive(boolean active) { 125 this.active = active; 126 } 127 128 /** 129 * Gets the toStringMap attribute. 130 * 131 * @return Returns the toStringMap 132 */ 133 protected LinkedHashMap toStringMapper() { 134 LinkedHashMap toStringMap = new LinkedHashMap(); 135 toStringMap.put("shelvingSchemeId", shelvingSchemeId); 136 return toStringMap; 137 } 138 139}