001/*
002 * Copyright 2006-2014 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 */
016
017package org.kuali.rice.krad.test.conference;
018
019import org.kuali.rice.krad.data.provider.annotation.ExtensionFor;
020
021import javax.persistence.Column;
022import javax.persistence.Entity;
023import javax.persistence.Id;
024import javax.persistence.JoinColumn;
025import javax.persistence.OneToOne;
026import javax.persistence.Table;
027
028@Entity
029@Table(name = "KRTST_CONF_LBL_EXT_T")
030@ExtensionFor(Label.class)
031public class LabelExtension {
032
033    @Id
034    @OneToOne
035    @JoinColumn(name = "NM")
036    private Label label;
037
038    @Column(name = "EXTRA")
039    private String extra;
040
041    public Label getLabel() {
042        return label;
043    }
044
045    public void setLabel(Label label) {
046        this.label = label;
047    }
048
049    public String getExtra() {
050        return extra;
051    }
052
053    public void setExtra(String extra) {
054        this.extra = extra;
055    }
056}