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 * OleFieldEncodingLevel is business object class for Field Encoding Level Maintenance Document
010 */
011public class OleFieldEncodingLevel extends PersistableBusinessObjectBase {
012
013    private Integer fieldEncodingLevelId;
014    private String fieldEncodingLevelCode;
015    private String fieldEncodingLevelName;
016    private String source;
017    private Date sourceDate;
018    private boolean active;
019
020    /**
021     * Gets the fieldEncodingLevelId attribute.
022     *
023     * @return Returns the fieldEncodingLevelId
024     */
025    public Integer getFieldEncodingLevelId() {
026        return fieldEncodingLevelId;
027    }
028
029    /**
030     * Sets the fieldEncodingLevelId attribute value.
031     *
032     * @param fieldEncodingLevelId The fieldEncodingLevelId to set.
033     */
034    public void setFieldEncodingLevelId(Integer fieldEncodingLevelId) {
035        this.fieldEncodingLevelId = fieldEncodingLevelId;
036    }
037
038    /**
039     * Gets the fieldEncodingLevelCode attribute.
040     *
041     * @return Returns the fieldEncodingLevelCode
042     */
043    public String getFieldEncodingLevelCode() {
044        return fieldEncodingLevelCode;
045    }
046
047    /**
048     * Sets the fieldEncodingLevelCode attribute value.
049     *
050     * @param fieldEncodingLevelCode The fieldEncodingLevelCode to set.
051     */
052    public void setFieldEncodingLevelCode(String fieldEncodingLevelCode) {
053        this.fieldEncodingLevelCode = fieldEncodingLevelCode;
054    }
055
056    /**
057     * Gets the fieldEncodingLevelName attribute.
058     *
059     * @return Returns the fieldEncodingLevelName
060     */
061    public String getFieldEncodingLevelName() {
062        return fieldEncodingLevelName;
063    }
064
065    /**
066     * Sets the fieldEncodingLevelName attribute value.
067     *
068     * @param fieldEncodingLevelName The fieldEncodingLevelName to set.
069     */
070    public void setFieldEncodingLevelName(String fieldEncodingLevelName) {
071        this.fieldEncodingLevelName = fieldEncodingLevelName;
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("fieldEncodingLevelId", fieldEncodingLevelId);
136        return toStringMap;
137    }
138}