~raginggoblin/infolog/infolog

« back to all changes in this revision

Viewing changes to InfologServer/lib/hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/optlock/Document.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: Document.java 7552 2005-07-19 18:51:24Z oneovthafew $
2
 
package org.hibernate.test.optlock;
3
 
 
4
 
/**
5
 
 * @author Gavin King
6
 
 */
7
 
public class Document {
8
 
        private Long id;
9
 
        private String author;
10
 
        private String title;
11
 
        private String summary;
12
 
        private String text;
13
 
        private PublicationDate pubDate;
14
 
        private int totalSales;
15
 
        /**
16
 
         * @return Returns the author.
17
 
         */
18
 
        public String getAuthor() {
19
 
                return author;
20
 
        }
21
 
        /**
22
 
         * @param author The author to set.
23
 
         */
24
 
        public void setAuthor(String author) {
25
 
                this.author = author;
26
 
        }
27
 
        /**
28
 
         * @return Returns the id.
29
 
         */
30
 
        public Long getId() {
31
 
                return id;
32
 
        }
33
 
        /**
34
 
         * @param id The id to set.
35
 
         */
36
 
        public void setId(Long id) {
37
 
                this.id = id;
38
 
        }
39
 
        /**
40
 
         * @return Returns the summary.
41
 
         */
42
 
        public String getSummary() {
43
 
                return summary;
44
 
        }
45
 
        /**
46
 
         * @param summary The summary to set.
47
 
         */
48
 
        public void setSummary(String summary) {
49
 
                this.summary = summary;
50
 
        }
51
 
        /**
52
 
         * @return Returns the text.
53
 
         */
54
 
        public String getText() {
55
 
                return text;
56
 
        }
57
 
        /**
58
 
         * @param text The text to set.
59
 
         */
60
 
        public void setText(String text) {
61
 
                this.text = text;
62
 
        }
63
 
        /**
64
 
         * @return Returns the title.
65
 
         */
66
 
        public String getTitle() {
67
 
                return title;
68
 
        }
69
 
        /**
70
 
         * @param title The title to set.
71
 
         */
72
 
        public void setTitle(String title) {
73
 
                this.title = title;
74
 
        }
75
 
        public PublicationDate getPubDate() {
76
 
                return pubDate;
77
 
        }
78
 
        public void setPubDate(PublicationDate pubDate) {
79
 
                this.pubDate = pubDate;
80
 
        }
81
 
        public int getTotalSales() {
82
 
                return totalSales;
83
 
        }
84
 
        public void setTotalSales(int totalSales) {
85
 
                this.totalSales = totalSales;
86
 
        }
87
 
}