~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/entity/Bid.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: Bid.java 14736 2008-06-04 14:23:42Z hardy.ferentschik $
2
 
package org.hibernate.test.annotations.entity;
3
 
 
4
 
import javax.persistence.Entity;
5
 
import javax.persistence.EnumType;
6
 
import javax.persistence.Enumerated;
7
 
import javax.persistence.Id;
8
 
 
9
 
/**
10
 
 * @author Emmanuel Bernard
11
 
 */
12
 
@Entity
13
 
public class Bid {
14
 
        private Integer id;
15
 
        private String description;
16
 
        private Starred note;
17
 
        private Starred editorsNote;
18
 
        private Boolean approved;
19
 
 
20
 
        @Enumerated(EnumType.STRING)
21
 
        //@Column(columnDefinition = "VARCHAR(10)")
22
 
        public Starred getEditorsNote() {
23
 
                return editorsNote;
24
 
        }
25
 
 
26
 
        public void setEditorsNote(Starred editorsNote) {
27
 
                this.editorsNote = editorsNote;
28
 
        }
29
 
 
30
 
        @Id
31
 
        public Integer getId() {
32
 
                return id;
33
 
        }
34
 
 
35
 
        public void setId(Integer id) {
36
 
                this.id = id;
37
 
        }
38
 
 
39
 
        public String getDescription() {
40
 
                return description;
41
 
        }
42
 
 
43
 
        public void setDescription(String description) {
44
 
                this.description = description;
45
 
        }
46
 
 
47
 
        public Starred getNote() {
48
 
                return note;
49
 
        }
50
 
 
51
 
        public void setNote(Starred note) {
52
 
                this.note = note;
53
 
        }
54
 
 
55
 
        public Boolean getApproved() {
56
 
                return approved;
57
 
        }
58
 
 
59
 
        public void setApproved(Boolean approved) {
60
 
                this.approved = approved;
61
 
        }
62
 
 
63
 
}