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/**
010 * OleLocationStatus is business object class for Location Status Maintenance Document
011 */
012public class OleLocationStatus extends PersistableBusinessObjectBase {
013
014    private String locationStatusId;
015    private String locationStatusCode;
016    private String locationStatusName;
017    private String source;
018    private Date sourceDate;
019    private boolean active;
020
021    /**
022     * Gets the locationStatusId attribute.
023     *
024     * @return Returns the locationStatusId
025     */
026    public String getLocationStatusId() {
027        return locationStatusId;
028    }
029
030    /**
031     * Sets the locationStatusId attribute value.
032     *
033     * @param locationStatusId The locationStatusId to set.
034     */
035    public void setLocationStatusId(String locationStatusId) {
036        this.locationStatusId = locationStatusId;
037    }
038
039    /**
040     * Gets the locationStatusCode attribute.
041     *
042     * @return Returns the locationStatusCode
043     */
044    public String getLocationStatusCode() {
045        return locationStatusCode;
046    }
047
048    /**
049     * Sets the locationStatusCode attribute value.
050     *
051     * @param locationStatusCode The locationStatusCode to set.
052     */
053    public void setLocationStatusCode(String locationStatusCode) {
054        this.locationStatusCode = locationStatusCode;
055    }
056
057    /**
058     * Gets the locationStatusName attribute.
059     *
060     * @return Returns the locationStatusName
061     */
062    public String getLocationStatusName() {
063        return locationStatusName;
064    }
065
066    /**
067     * Sets the locationStatusName attribute value.
068     *
069     * @param locationStatusName The locationStatusName to set.
070     */
071    public void setLocationStatusName(String locationStatusName) {
072        this.locationStatusName = locationStatusName;
073    }
074
075    /**
076     * Gets the source attribute.
077     *
078     * @return Returns the source
079     */
080    public String getSource() {
081        return source;
082    }
083
084    /**
085     * Sets the source attribute value.
086     *
087     * @param source The source to set.
088     */
089    public void setSource(String source) {
090        this.source = source;
091    }
092
093    /**
094     * Gets the sourceDate attribute.
095     *
096     * @return Returns the sourceDate
097     */
098    public Date getSourceDate() {
099        return sourceDate;
100    }
101
102    /**
103     * Sets the sourceDate attribute value.
104     *
105     * @param sourceDate The sourceDate to set.
106     */
107    public void setSourceDate(Date sourceDate) {
108        this.sourceDate = sourceDate;
109    }
110
111    /**
112     * Gets the active attribute.
113     *
114     * @return Returns the active
115     */
116    public boolean isActive() {
117        return active;
118    }
119
120    /**
121     * Sets the active attribute value.
122     *
123     * @param active The active to set.
124     */
125    public void setActive(boolean active) {
126        this.active = active;
127    }
128
129    /**
130     * Gets the toStringMap attribute.
131     *
132     * @return Returns the toStringMap
133     */
134    protected LinkedHashMap toStringMapper() {
135        LinkedHashMap toStringMap = new LinkedHashMap();
136        toStringMap.put("locationStatusId", locationStatusId);
137        return toStringMap;
138    }
139
140
141}