21 package com.mysql.cluster.crund;
23 import java.io.Serializable;
24 import java.io.ObjectInputStream;
25 import java.io.ObjectOutputStream;
26 import java.io.IOException;
31 @javax.persistence.Entity
32 @javax.persistence.Table(
name=
"b0")
33 public class B0 implements Serializable {
65 private double cdouble;
67 @javax.persistence.Basic(fetch=javax.persistence.FetchType.LAZY)
68 private byte[] cvarbinary_def;
70 @javax.persistence.Basic(fetch=javax.persistence.FetchType.LAZY)
71 private String cvarchar_def;
73 @javax.persistence.ManyToOne(fetch=javax.persistence.FetchType.LAZY)
74 @javax.persistence.Column(
name=
"a_id")
75 @org.apache.openjpa.persistence.jdbc.Index(
name=
"I_B0_FK")
85 public void setId(
int id) {
89 public int getCint() {
93 public void setCint(
int cint) {
97 public long getClong() {
101 public void setClong(
long clong) {
105 public float getCfloat() {
109 public void setCfloat(
float cfloat) {
110 this.cfloat = cfloat;
113 public double getCdouble() {
117 public void setCdouble(
double cdouble) {
118 this.cdouble = cdouble;
121 public byte[] getCvarbinary_def() {
122 return cvarbinary_def;
125 public void setCvarbinary_def(byte[] cvarbinary_def) {
126 this.cvarbinary_def = cvarbinary_def;
129 public String getCvarchar_def() {
133 public void setCvarchar_def(
String cvarchar_def) {
134 this.cvarchar_def = cvarchar_def;
141 public void setA(
A a) {
146 static private final long serialVersionUID = 4644052765183330073L;
149 private void readObject(ObjectInputStream in)
throws IOException, ClassNotFoundException {
150 in.defaultReadObject();
154 private void writeObject(ObjectOutputStream out)
throws IOException {
155 out.defaultWriteObject();