[seam-commits] Seam SVN: r13404 - modules/security/trunk/examples/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jul 15 08:28:14 EDT 2010


Author: shane.bryzak at jboss.com
Date: 2010-07-15 08:28:14 -0400 (Thu, 15 Jul 2010)
New Revision: 13404

Added:
   modules/security/trunk/examples/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/RelationshipName.java
Log:
oops, will be needing this


Added: modules/security/trunk/examples/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/RelationshipName.java
===================================================================
--- modules/security/trunk/examples/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/RelationshipName.java	                        (rev 0)
+++ modules/security/trunk/examples/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model/RelationshipName.java	2010-07-15 12:28:14 UTC (rev 13404)
@@ -0,0 +1,42 @@
+package org.jboss.seam.security.examples.idmconsole.model;
+
+import java.io.Serializable;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+
+/**
+ * This is a simple lookup table containing relationship (i.e. role) names.
+ * 
+ * @author Shane Bryzak
+ */
+ at Entity
+public class RelationshipName implements Serializable
+{
+   private static final long serialVersionUID = 8775236263787825703L;
+   
+   private Long id;
+   private String name;
+   
+   @Id @GeneratedValue
+   public Long getId()
+   {
+      return id;
+   }
+   
+   public void setId(Long id)
+   {
+      this.id = id;
+   }
+   
+   public String getName()
+   {
+      return name;
+   }
+   
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+}



More information about the seam-commits mailing list