~raginggoblin/infolog/infolog

« back to all changes in this revision

Viewing changes to InfologServer/lib/hibernate-annotations-3.4.0.GA/test/org/hibernate/test/annotations/manytomany/Inspector.java

  • Committer: Raging Goblin
  • Date: 2013-11-16 16:51:32 UTC
  • Revision ID: raging_goblin-20131116165132-weujnptzc88uy4ah
Mavenized the project, now using shared project InfologSync

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//$Id: Inspector.java 14736 2008-06-04 14:23:42Z hardy.ferentschik $
2
 
package org.hibernate.test.annotations.manytomany;
3
 
 
4
 
import java.io.Serializable;
5
 
import javax.persistence.Column;
6
 
import javax.persistence.Entity;
7
 
import javax.persistence.GeneratedValue;
8
 
import javax.persistence.Id;
9
 
import javax.persistence.Inheritance;
10
 
import javax.persistence.InheritanceType;
11
 
 
12
 
/**
13
 
 * @author Emmanuel Bernard
14
 
 */
15
 
@Entity
16
 
@Inheritance(strategy = InheritanceType.JOINED)
17
 
class Inspector implements Serializable {
18
 
        @Id
19
 
        @GeneratedValue
20
 
        @Column(name = "id")
21
 
        private Long _id;
22
 
 
23
 
        private String name;
24
 
 
25
 
        public Long getId() {
26
 
                return _id;
27
 
        }
28
 
 
29
 
        public String getName() {
30
 
                return name;
31
 
        }
32
 
 
33
 
        public void setName(String name) {
34
 
                this.name = name;
35
 
        }
36
 
}
37