Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/hibernate/test/generatedkeys/select/MyEntity.java


1   package org.hibernate.test.generatedkeys.select;
2   
3   /**
4    * @author <a href="mailto:steve@hibernate.org">Steve Ebersole </a>
5    */
6   public class MyEntity {
7     private Long id;
8     private String name;
9   
10    public MyEntity() {
11    }
12  
13    public MyEntity(String name) {
14      this.name = name;
15    }
16  
17    public Long getId() {
18      return id;
19    }
20  
21    public String getName() {
22      return name;
23    }
24  
25    public void setName(String name) {
26      this.name = name;
27    }
28  }