[seam-commits] Seam SVN: r7703 - trunk/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Mar 26 06:55:50 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-03-26 06:55:50 -0400 (Wed, 26 Mar 2008)
New Revision: 7703
Modified:
branches/Seam_2_0/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java
trunk/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java
Log:
JJBSEAM-2768
Modified: branches/Seam_2_0/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java
===================================================================
--- branches/Seam_2_0/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java 2008-03-26 10:53:05 UTC (rev 7702)
+++ branches/Seam_2_0/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java 2008-03-26 10:55:50 UTC (rev 7703)
@@ -1,5 +1,6 @@
package org.jboss.seam.example.seamdiscs.model;
+import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
@@ -23,6 +24,11 @@
private List<Disc> discs;
private String description;
+
+ public Artist()
+ {
+ this.discs = new ArrayList<Disc>();
+ }
public Integer getId()
{
Modified: trunk/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java
===================================================================
--- trunk/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java 2008-03-26 10:53:05 UTC (rev 7702)
+++ trunk/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/model/Artist.java 2008-03-26 10:55:50 UTC (rev 7703)
@@ -1,5 +1,6 @@
package org.jboss.seam.example.seamdiscs.model;
+import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
@@ -23,6 +24,11 @@
private List<Disc> discs;
private String description;
+
+ public Artist()
+ {
+ this.discs = new ArrayList<Disc>();
+ }
public Integer getId()
{
More information about the seam-commits
mailing list