1 25 26 28 package org.objectweb.jonas.stests.manyops; 29 30 import javax.ejb.EntityBean ; 31 32 import org.objectweb.util.monolog.api.BasicLevel; 33 34 39 public class ProductEC extends ProductEC2 implements EntityBean { 40 41 public String name; 46 public int number; 47 public int price; 48 49 53 public String getName() { 54 logger.log(BasicLevel.DEBUG, ""); 55 return name; 56 } 57 58 public void setName(String s) { 59 logger.log(BasicLevel.DEBUG, ""); 60 name = s; 61 } 62 63 public int getNumber() { 64 logger.log(BasicLevel.DEBUG, ""); 65 return number; 66 } 67 68 public void setNumber(int n) { 69 logger.log(BasicLevel.DEBUG, ""); 70 number = n; 71 } 72 73 public int getPrice() { 74 logger.log(BasicLevel.DEBUG, ""); 75 return price; 76 } 77 78 public void setPrice(int n) { 79 logger.log(BasicLevel.DEBUG, ""); 80 price = n; 81 } 82 83 } 84 | Popular Tags |