KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > speedo > pobjects > inheritance > filterOutOfPK > composite > A1


1 /**
2  * Speedo: an implementation of JDO compliant personality on top of JORM generic
3  * I/O sub-system.
4  * Copyright (C) 2001-2004 France Telecom R&D
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  *
21  *
22  * Contact: speedo@objectweb.org
23  *
24  */

25
26 package org.objectweb.speedo.pobjects.inheritance.filterOutOfPK.composite;
27
28 /**
29  * @author Y.Bersihand
30  */

31 public class A1 {
32
33     //the composite pk
34
private int a11;
35     private String JavaDoc a12;
36     
37     //the filter
38
private int a13;
39     
40     //a ref
41
private B b;
42     
43     public A1(int a11, String JavaDoc a12, int a13, B b) {
44         this.a11 = a11;
45         this.a12 = a12;
46         this.a13 = a13;
47         this.b = b;
48     }
49     
50     public int getA11() {
51         return a11;
52     }
53     public void setA11(int a11) {
54         this.a11 = a11;
55     }
56     public String JavaDoc getA12() {
57         return a12;
58     }
59     public void setA12(String JavaDoc a12) {
60         this.a12 = a12;
61     }
62     public int getA13() {
63         return a13;
64     }
65     public void setA13(int a13) {
66         this.a13 = a13;
67     }
68     public B getB() {
69         return b;
70     }
71     public void setB(B b) {
72         this.b = b;
73     }
74 }
75
Popular Tags