1 25 package org.objectweb.easybeans.tests.common.ejbs.entity.entitytest03; 26 27 import java.io.Serializable ; 28 29 import javax.persistence.Embeddable; 30 31 36 @Embeddable 37 public class ClassPK implements Serializable { 38 39 42 private static final long serialVersionUID = 6916779921562492042L; 43 44 47 private String classYear; 48 49 52 private String className; 53 54 58 public String getClassName() { 59 return className; 60 } 61 62 66 public void setClassName(final String className) { 67 this.className = className; 68 } 69 70 74 public String getClassYear() { 75 return classYear; 76 } 77 78 82 public void setClassYear(final String classYear) { 83 this.classYear = classYear; 84 } 85 86 } 87 | Popular Tags |