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 * OlePrivacy is business object class for Privacy Maintenance Document
010 */
011public class OlePrivacy extends PersistableBusinessObjectBase {
012
013    private String privacyId;
014    private String privacyCode;
015    private String privacyName;
016    private String source;
017    private Date sourceDate;
018    private boolean active;
019
020    /**
021     * Gets the privacyId attribute.
022     *
023     * @return Returns the privacyId
024     */
025    public String getPrivacyId() {
026        return privacyId;
027    }
028
029    /**
030     * Sets the privacyId attribute value.
031     *
032     * @param privacyId The privacyId to set.
033     */
034    public void setPrivacyId(String privacyId) {
035        this.privacyId = privacyId;
036    }
037
038    /**
039     * Gets the privacyCode attribute.
040     *
041     * @return Returns the privacyCode
042     */
043    public String getPrivacyCode() {
044        return privacyCode;
045    }
046
047    /**
048     * Sets the privacyCode attribute value.
049     *
050     * @param privacyCode The privacyCode to set.
051     */
052    public void setPrivacyCode(String privacyCode) {
053        this.privacyCode = privacyCode;
054    }
055
056    /**
057     * Gets the privacyName attribute.
058     *
059     * @return Returns the privacyName
060     */
061    public String getPrivacyName() {
062        return privacyName;
063    }
064
065    /**
066     * Sets the privacyName attribute value.
067     *
068     * @param privacyName The privacyName to set.
069     */
070    public void setPrivacyName(String privacyName) {
071        this.privacyName = privacyName;
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("privacyId", privacyId);
136        toStringMap.put("privacyCode", privacyCode);
137        toStringMap.put("privacyName", privacyName);
138        toStringMap.put("source", source);
139        toStringMap.put("sourceDate", sourceDate);
140        toStringMap.put("active", active);
141        return toStringMap;
142    }
143
144}
145
146
147
148
149
150
151
152
153
154
155