1 25 26 package org.objectweb.jonas.jtests.beans.fbasic; 27 28 import javax.ejb.EJBException ; 29 import javax.ejb.EntityBean ; 30 import javax.ejb.EntityContext ; 31 import javax.ejb.RemoveException ; 32 import javax.ejb.CreateException ; 33 import javax.ejb.EntityContext ; 34 35 36 46 47 public class SimpleEC extends SimpleEC2 implements EntityBean { 48 49 public int info; 51 public int numtest; 52 public String testname; 53 54 55 57 public int getInfo() { 58 return info; 60 } 61 public void setInfo(int info) { 62 this.info = info; 64 } 65 66 public int getNumTest() { 67 return numtest; 69 } 70 public void setNumTest(int num) { 71 this.numtest = num; 73 } 74 75 public String getTestName() { 76 return testname; 78 } 79 public void setTestName(String name) { 80 this.testname = name; 82 } 83 } 84 | Popular Tags |