1 25 26 package org.objectweb.jonas.jtests.beans.beanexc; 27 28 import javax.ejb.EntityBean ; 29 30 import org.objectweb.util.monolog.api.BasicLevel; 31 32 37 public class AccountEC extends AccountEC2 implements EntityBean { 38 39 public int number; 44 public String customer; 45 public long balance; 46 47 48 52 public int getNumber() { 53 logger.log(BasicLevel.DEBUG, "number:"+number); 54 return number; 55 } 56 57 public void setNumber(int n) { 58 logger.log(BasicLevel.DEBUG, ""); 59 number = n; 60 } 61 62 public long getBalance() { 63 logger.log(BasicLevel.DEBUG, "balance:"+number); 64 return balance; 65 } 66 67 public void setBalance(long d) { 68 logger.log(BasicLevel.DEBUG, ""); 69 balance = d; 70 } 71 72 public String getCustomer() { 73 logger.log(BasicLevel.DEBUG, ""); 74 return customer; 75 } 76 77 public void setCustomer(String c) { 78 logger.log(BasicLevel.DEBUG, ""); 79 customer = c; 80 } 81 82 } 83 84 | Popular Tags |