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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/cascade/Job.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: Job.java 6663 2005-05-03 20:55:31Z steveebersole $
 
2
package org.hibernate.test.cascade;
 
3
 
 
4
/**
 
5
 * Implementation of Job.
 
6
 *
 
7
 * @author Steve Ebersole
 
8
 */
 
9
public class Job {
 
10
        private Long id;
 
11
        private JobBatch batch;
 
12
        private String processingInstructions;
 
13
        private int status;
 
14
 
 
15
        /** GCLIB constructor */
 
16
        Job() {}
 
17
 
 
18
        protected Job(JobBatch batch) {
 
19
                this.batch = batch;
 
20
        }
 
21
 
 
22
        public Long getId() {
 
23
                return id;
 
24
        }
 
25
 
 
26
        /*package*/ void setId(Long id) {
 
27
                this.id = id;
 
28
        }
 
29
 
 
30
        public JobBatch getBatch() {
 
31
                return batch;
 
32
        }
 
33
 
 
34
        /*package*/ void setBatch(JobBatch batch) {
 
35
                this.batch = batch;
 
36
        }
 
37
 
 
38
        public String getProcessingInstructions() {
 
39
                return processingInstructions;
 
40
        }
 
41
 
 
42
        public void setProcessingInstructions(String processingInstructions) {
 
43
                this.processingInstructions = processingInstructions;
 
44
        }
 
45
 
 
46
        public int getStatus() {
 
47
                return status;
 
48
        }
 
49
 
 
50
        public void setStatus(int status) {
 
51
                this.status = status;
 
52
        }
 
53
}