~ubuntu-branches/ubuntu/wily/libhibernate3-java/wily-proposed

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/formulajoin/Detail.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-10-14 14:43:34 UTC
  • Revision ID: james.westby@ubuntu.com-20071014144334-eamc8i0q10gs1aro
Tags: upstream-3.2.5
ImportĀ upstreamĀ versionĀ 3.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//$Id: Detail.java 4602 2004-09-26 11:42:47Z oneovthafew $
 
2
package org.hibernate.test.formulajoin;
 
3
 
 
4
import java.io.Serializable;
 
5
 
 
6
/**
 
7
 * @author Gavin King
 
8
 */
 
9
public class Detail implements Serializable {
 
10
        private Long id;
 
11
        private Master master;
 
12
        private int version;
 
13
        private String details;
 
14
        private boolean currentVersion;
 
15
        
 
16
        public boolean isCurrentVersion() {
 
17
                return currentVersion;
 
18
        }
 
19
        public void setCurrentVersion(boolean currentVersion) {
 
20
                this.currentVersion = currentVersion;
 
21
        }
 
22
        public String getDetails() {
 
23
                return details;
 
24
        }
 
25
        public void setDetails(String details) {
 
26
                this.details = details;
 
27
        }
 
28
        public Long getId() {
 
29
                return id;
 
30
        }
 
31
        public void setId(Long id) {
 
32
                this.id = id;
 
33
        }
 
34
        public Master getMaster() {
 
35
                return master;
 
36
        }
 
37
        public void setMaster(Master master) {
 
38
                this.master = master;
 
39
        }
 
40
        public int getVersion() {
 
41
                return version;
 
42
        }
 
43
        public void setVersion(int version) {
 
44
                this.version = version;
 
45
        }
 
46
}