001/*
002 * Copyright 2009 The Kuali Foundation
003 * 
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 * 
008 * http://www.opensource.org/licenses/ecl2.php
009 * 
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.ole.coa.identity;
017
018import java.io.Serializable;
019
020import javax.persistence.Transient;
021
022import org.kuali.rice.kim.api.common.attribute.KimAttribute;
023
024public class OleKimDocumentAttributeData implements Serializable {
025
026    private static final long serialVersionUID = -1512640359333185819L;
027    private String attrDataId;
028    private String memberId;
029    private String kimTypId;
030    private String kimAttrDefnId;
031    private String attrVal = "";
032    private KimAttribute kimAttribute;
033    @Transient
034    private String qualifierKey;
035
036    private Boolean unique;
037    
038    public String getAttrDataId() {
039        return attrDataId;
040    }
041
042    public void setAttrDataId(String attrDataId) {
043        this.attrDataId = attrDataId;
044    }
045
046    public String getKimTypId() {
047        return kimTypId;
048    }
049
050    public void setKimTypId(String kimTypId) {
051        this.kimTypId = kimTypId;
052    }
053
054    public String getKimAttrDefnId() {
055        return kimAttrDefnId;
056    }
057
058    public void setKimAttrDefnId(String kimAttrDefnId) {
059        this.kimAttrDefnId = kimAttrDefnId;
060    }
061
062    public String getAttrVal() {
063        return attrVal;
064    }
065
066    public void setAttrVal(String attrVal) {
067        this.attrVal = attrVal;
068    }
069
070    public String getQualifierKey() {
071        return this.qualifierKey;
072    }
073
074    public void setQualifierKey(String qualifierKey) {
075        this.qualifierKey = qualifierKey;
076    }
077
078    /**
079     * @return the kimAttribute
080     */
081    public KimAttribute getKimAttribute() {
082        return this.kimAttribute;
083    }
084
085    /**
086     * @param kimAttribute the kimAttribute to set
087     */
088    public void setKimAttribute(KimAttribute kimAttribute) {
089        this.kimAttribute = kimAttribute;
090    }
091
092    /**
093     * @return the uniqueAndReadOnly
094     */
095    public Boolean isUnique() {
096        return this.unique;
097    }
098
099    /**
100     * @param uniqueAndReadOnly the uniqueAndReadOnly to set
101     */
102    public void setUnique(Boolean unique) {
103        this.unique = unique;
104    }
105
106    /**
107     * Gets the memberId attribute. 
108     * @return Returns the memberId.
109     */
110    public String getMemberId() {
111        return memberId;
112    }
113
114    /**
115     * Sets the memberId attribute value.
116     * @param memberId The memberId to set.
117     */
118    public void setMemberId(String memberId) {
119        this.memberId = memberId;
120    }
121
122}