[seam-commits] Seam SVN: r13233 - examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Jun 17 19:16:55 EDT 2010
Author: dan.j.allen
Date: 2010-06-17 19:16:55 -0400 (Thu, 17 Jun 2010)
New Revision: 13233
Modified:
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Booking.java
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/User.java
Log:
switch to @Veto
Modified: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Booking.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Booking.java 2010-06-17 23:11:52 UTC (rev 13232)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Booking.java 2010-06-17 23:16:55 UTC (rev 13233)
@@ -43,6 +43,7 @@
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
+import org.jboss.weld.extensions.core.Veto;
/**
* <p><strong>Booking</strong> is the model/entity class that represents a hotel
@@ -52,7 +53,7 @@
* @author Dan Allen
*/
@Entity
- at Typed()
+ at Veto
public class Booking implements Serializable
{
private Long id;
Modified: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java 2010-06-17 23:11:52 UTC (rev 13232)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java 2010-06-17 23:16:55 UTC (rev 13233)
@@ -34,6 +34,7 @@
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
+import org.jboss.weld.extensions.core.Veto;
/**
* <p>
@@ -45,6 +46,7 @@
*/
@Entity
@Table(name = "hotel")
+ at Veto
public class Hotel implements Serializable
{
private Long id;
Modified: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/User.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/User.java 2010-06-17 23:11:52 UTC (rev 13232)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/User.java 2010-06-17 23:16:55 UTC (rev 13233)
@@ -32,6 +32,7 @@
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.Email;
+import org.jboss.weld.extensions.core.Veto;
/**
* <p>
@@ -44,7 +45,7 @@
*/
@Entity
@Table(name = "traveler")
- at Typed()
+ at Veto
public class User implements Serializable
{
private String username;
More information about the seam-commits
mailing list