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 javax.persistence.CascadeType; 020import javax.persistence.Column; 021import javax.persistence.Entity; 022import javax.persistence.Id; 023import javax.persistence.OneToOne; 024import javax.persistence.Table; 025import javax.persistence.Transient; 026 027@Entity 028@Table(name = "KRTST_CONF_LBL_T") 029public class Label { 030 031 @Id 032 @Column(name = "NM") 033 private String name; 034 035 @Transient 036 private Object extension; 037 038// @OneToOne(cascade = CascadeType.ALL, mappedBy = "label") 039// private LabelExtension extension; 040 041 public String getName() { 042 return name; 043 } 044 045 public void setName(String name) { 046 this.name = name; 047 } 048 049 public Object getExtension() { 050 return extension; 051 } 052 053 public void setExtension(Object extension) { 054 this.extension = extension; 055 } 056 057// public LabelExtension getExtension() { 058// return extension; 059// } 060// 061// public void setExtension(LabelExtension extension) { 062// this.extension = extension; 063// } 064 065}