]> review.fuel-infra Code Review - packages/trusty/mysql-wsrep-5.6.git/blob
a44611db8b8894ab89baf86d40b23b8ecc1b7747
[packages/trusty/mysql-wsrep-5.6.git] /
1 /*
2    Copyright 2010 Sun Microsystems, Inc.
3    All rights reserved. Use is subject to license terms.
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; version 2 of the License.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program; if not, write to the Free Software
16    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
17 */
18
19 package testsuite.clusterj.model;
20
21 import com.mysql.clusterj.annotation.Column;
22 import com.mysql.clusterj.annotation.Index;
23 import com.mysql.clusterj.annotation.NullValue;
24 import com.mysql.clusterj.annotation.PersistenceCapable;
25 import com.mysql.clusterj.annotation.Persistent;
26 import com.mysql.clusterj.annotation.PrimaryKey;
27
28 @PersistenceCapable(table="dn2id")
29 @PrimaryKey(columns={
30     @Column(name="a0"),
31     @Column(name="a1"),
32     @Column(name="a2"),
33     @Column(name="a3"),
34     @Column(name="a4"),
35     @Column(name="a5"),
36     @Column(name="a6"),
37     @Column(name="a7"),
38     @Column(name="a8"),
39     @Column(name="a9"),
40     @Column(name="a10"),
41     @Column(name="a11"),
42     @Column(name="a12"),
43     @Column(name="a13"),
44     @Column(name="a14"),
45     @Column(name="a15")})
46 public interface Dn2id {
47     
48     @Index(name="idx_unique_hash_eid")
49     long getEid();
50     void setEid(long id);
51
52     @Persistent(nullValue=NullValue.EXCEPTION)
53     @Column(name="object_classes")
54     String getObjectClasses();
55     void setObjectClasses(String name);
56
57     @Persistent(nullValue=NullValue.DEFAULT)
58     @Column(name="x_object_classes")
59     String getXObjectClasses();
60     void setXObjectClasses(String name);
61
62     @Column(name="a0")
63     String getA0();
64     void setA0(String value);
65
66     @Column(name="a1")
67     String getA1();
68     void setA1(String value);
69
70     @Column(name="a2")
71     String getA2();
72     void setA2(String value);
73
74     @Column(name="a3")
75     String getA3();
76     void setA3(String value);
77
78     @Column(name="a4")
79     String getA4();
80     void setA4(String value);
81
82     @Column(name="a5")
83     String getA5();
84     void setA5(String value);
85
86     @Column(name="a6")
87     String getA6();
88     void setA6(String value);
89
90     @Column(name="a7")
91     String getA7();
92     void setA7(String value);
93
94     @Column(name="a8")
95     String getA8();
96     void setA8(String value);
97
98     @Column(name="a9")
99     String getA9();
100     void setA9(String value);
101
102     @Column(name="a10")
103     String getA10();
104     void setA10(String value);
105
106     @Column(name="a11")
107     String getA11();
108     void setA11(String value);
109
110     @Column(name="a12")
111     String getA12();
112     void setA12(String value);
113
114     @Column(name="a13")
115     String getA13();
116     void setA13(String value);
117
118     @Column(name="a14")
119     String getA14();
120     void setA14(String value);
121
122     @Column(name="a15")
123     String getA15();
124     void setA15(String value);
125
126 }