001    /**
002     * Copyright 2010 The Kuali Foundation Licensed under the
003     * Educational Community License, Version 2.0 (the "License"); you may
004     * not use this file except in compliance with the License. You may
005     * obtain a copy of the License at
006     *
007     * http://www.osedu.org/licenses/ECL-2.0
008     *
009     * Unless required by applicable law or agreed to in writing,
010     * software distributed under the License is distributed on an "AS IS"
011     * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
012     * or implied. See the License for the specific language governing
013     * permissions and limitations under the License.
014     */
015    
016    package org.kuali.student.lum.lo.entity;
017    
018    import javax.persistence.Entity;
019    import javax.persistence.JoinColumn;
020    import javax.persistence.ManyToOne;
021    import javax.persistence.Table;
022    
023    import org.kuali.student.core.entity.Attribute;
024    
025    @Entity
026    @Table(name = "KSLO_ATTR")
027    public class LoAttribute extends Attribute<Lo> {
028            @ManyToOne
029            @JoinColumn(name = "OWNER")
030            private Lo owner;
031    
032            @Override
033            public Lo getOwner() {
034                    return owner;
035            }
036    
037            @Override
038            public void setOwner(Lo owner) {
039                    this.owner = owner;
040            }
041    }