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