1 25 26 package org.objectweb.jonas.jtests.beans.transacted; 27 28 import javax.ejb.EntityBean ; 29 import javax.ejb.EntityContext ; 30 31 import org.objectweb.util.monolog.api.BasicLevel; 32 33 36 public class SimpleEC extends SimpleEC2 implements EntityBean { 37 38 protected EntityContext entityContext; 39 40 public String accno; public String customer; 43 public long balance; 44 public int timerIdent; 45 public int timerCount; 46 47 public String getAccno() { 49 return this.accno; 50 } 51 public void setAccno(String accno) { 52 this.accno = accno; 53 } 54 public String getCustomer() { 55 return this.customer; 56 } 57 public void setCustomer(String customer) { 58 this.customer = customer; 59 } 60 public long getBalance() { 61 return this.balance; 62 } 63 public void setBalance(long balance) { 64 this.balance = balance; 65 } 66 67 public int getTimerIdent() { 68 logger.log(BasicLevel.DEBUG, ""); 69 return timerIdent; 70 } 71 72 public void setTimerIdent(int id) { 73 logger.log(BasicLevel.DEBUG, ""); 74 timerIdent = id; 75 } 76 77 public int getTimerCount() { 78 logger.log(BasicLevel.DEBUG, ""); 79 return timerCount; 80 } 81 82 public void setTimerCount(int cnt) { 83 logger.log(BasicLevel.DEBUG, ""); 84 timerCount = cnt; 85 } 86 87 88 } 89 | Popular Tags |