Add the following field declarations (in bold) to the class:private Long id;private String name;private String kind;private String weight;private Pavilion pavilion;
このクラスに次のフィールド宣言 (ボールド部分) を追加します。 public class Animal implements Serializable {private static final long serialVersionUID = 1L;private Long id;private String name;private String kind;private String weight;private Pavilion pavilion; - NetBeans
Add the following field declarations (in bold) to the class:private Long id;private String name;private String address;private Collection Animal animals;
このクラスに次のフィールド宣言 (ボールド部分) を追加します。 public class Pavilion implements Serializable {private static final long serialVersionUID = 1L;private Long id;private String name;private String address;private Collection Animal animals; - NetBeans
Make the following changes (displayed in bold) to implement the Serializable interface and add fields for the table columns to the class.
次のボールドで表示されている変更をクラスに加え、シリアライズ可能なインタフェースを実装して、表の列のフィールドを追加します。 - NetBeans