1 /* 2 * Copyright 2006-2014 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package org.kuali.rice.krad.test.conference; 18 19 import javax.persistence.CascadeType; 20 import javax.persistence.Column; 21 import javax.persistence.Entity; 22 import javax.persistence.Id; 23 import javax.persistence.OneToOne; 24 import javax.persistence.Table; 25 import javax.persistence.Transient; 26 27 @Entity 28 @Table(name = "KRTST_CONF_LBL_T") 29 public class Label { 30 31 @Id 32 @Column(name = "NM") 33 private String name; 34 35 @Transient 36 private Object extension; 37 38 // @OneToOne(cascade = CascadeType.ALL, mappedBy = "label") 39 // private LabelExtension extension; 40 41 public String getName() { 42 return name; 43 } 44 45 public void setName(String name) { 46 this.name = name; 47 } 48 49 public Object getExtension() { 50 return extension; 51 } 52 53 public void setExtension(Object extension) { 54 this.extension = extension; 55 } 56 57 // public LabelExtension getExtension() { 58 // return extension; 59 // } 60 // 61 // public void setExtension(LabelExtension extension) { 62 // this.extension = extension; 63 // } 64 65 }