Searched refs:Employee (Results 1 - 6 of 6) sorted by relevance

/glassfish-3.1.2/tests/quicklook/persistence/jpavalidation/src/java/
H A DTestEJB.java59 Employee e1 = new Employee(1, "emp1", 1000);
60 Employee e2 = new Employee(2, "emp2", 2000);
61 Employee e3 = new Employee(3, "emp3", 3000);
62 Employee e4 = new Employee(4, "emp4", 4000);
64 Collection<Employee> employees = new ArrayList<Employee>();
[all...]
H A DProject.java53 private Collection<Employee> employees;
79 public Collection<Employee> getEmployees() {
82 public void setEmployees(Collection<Employee> employees) {
H A DEmployee.java49 public class Employee { class
59 public Employee() {} method in class:Employee
61 public Employee(int id, String name, long salary) { method in class:Employee
108 System.out.println("PrePersist m1() called for Employee" + this);
113 System.out.println("PreUpdate m2() called for Employee" + this);
118 System.out.println("PreRemove m3() called for Employee" + this);
124 return "Employee {Id:" + id + " name:" + name + "}";
/glassfish-3.1.2/tests/quicklook/persistence/jpainjectemf/src/java/
H A DEmployee.java47 public class Employee implements java.io.Serializable { class in inherits:java.io.Serializable
54 public Employee() { method in class:Employee
57 public Employee(int id, String firstName, String lastName) method in class:Employee
64 public Employee(int id, String firstName, String lastName, method in class:Employee
113 java.lang.reflect.Field f = Employee.class.getDeclaredField("department");
127 return "Employee id=" + getId()
H A DDepartment.java55 private Set<Employee> employees;
88 public Set<Employee> getEmployees() {
91 public void setEmployees(Set<Employee> employees) {
H A DJpaTest.java54 private static Employee empRef[] = new Employee[5];
79 empRef[0] = new Employee(1, "Alan", "Frechette", deptRef[0]);
80 empRef[1] = new Employee(2, "Arthur", "Wesley", deptRef[0]);
81 empRef[2] = new Employee(3, "Abe", "White", deptRef[0]);
82 empRef[3] = new Employee(4, "Paul", "Hinz", deptRef[1]);
83 empRef[4] = new Employee(5, "Carla", "Calrson", deptRef[1]);
103 Employee emp = em.find(Employee.class, employeeID);
150 "SELECT e FROM Employee
[all...]

Completed in 21 milliseconds