20 package com.mysql.cluster.crund;
22 import java.io.Serializable;
23 import java.io.ObjectInputStream;
24 import java.io.ObjectOutputStream;
25 import java.io.IOException;
26 import java.util.Collection;
31 @javax.persistence.Entity
32 @javax.persistence.Table(
name=
"a")
33 public class A implements Serializable {
45 private double cdouble;
47 @javax.persistence.OneToMany(mappedBy=
"a")
48 private Collection<B0> b0s;
57 public void setId(
int id) {
61 public int getCint() {
65 public void setCint(
int cint) {
69 public long getClong() {
73 public void setClong(
long clong) {
77 public float getCfloat() {
81 public void setCfloat(
float cfloat) {
85 public double getCdouble() {
89 public void setCdouble(
double cdouble) {
90 this.cdouble = cdouble;
93 public Collection<B0> getB0s() {
97 public void setB0s(Collection<B0> b0s) {
102 static private final long serialVersionUID = -3359921162347129079L;
105 private void readObject(ObjectInputStream in)
throws IOException, ClassNotFoundException {
106 in.defaultReadObject();
110 private void writeObject(ObjectOutputStream out)
throws IOException {
111 out.defaultWriteObject();