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

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/ops/Competition.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: $
 
2
package org.hibernate.test.ops;
 
3
 
 
4
import java.util.List;
 
5
import java.util.ArrayList;
 
6
 
 
7
/**
 
8
 * @author Emmanuel Bernard
 
9
 */
 
10
public class Competition {
 
11
        private Integer id;
 
12
 
 
13
        private List competitors = new ArrayList();
 
14
 
 
15
 
 
16
        public Integer getId() {
 
17
                return id;
 
18
        }
 
19
 
 
20
        public void setId(Integer id) {
 
21
                this.id = id;
 
22
        }
 
23
 
 
24
        public List getCompetitors() {
 
25
                return competitors;
 
26
        }
 
27
 
 
28
        public void setCompetitors(List competitors) {
 
29
                this.competitors = competitors;
 
30
        }
 
31
}