[jboss-cvs] JBossAS SVN: r64709 - projects/security/security-jboss-sx/trunk/src/main/org/jboss/security.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Aug 20 12:34:02 EDT 2007


Author: anil.saldhana at jboss.com
Date: 2007-08-20 12:34:02 -0400 (Mon, 20 Aug 2007)
New Revision: 64709

Modified:
   projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/SecurityRoleRef.java
Log:
add setters

Modified: projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/SecurityRoleRef.java
===================================================================
--- projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/SecurityRoleRef.java	2007-08-20 16:33:52 UTC (rev 64708)
+++ projects/security/security-jboss-sx/trunk/src/main/org/jboss/security/SecurityRoleRef.java	2007-08-20 16:34:02 UTC (rev 64709)
@@ -35,6 +35,10 @@
    private String link;
    private String description;
    
+   public SecurityRoleRef()
+   {   
+   }
+   
    public SecurityRoleRef(String name, String link, String description)
    {
       this.name = name;
@@ -51,24 +55,52 @@
    {
       return description;
    }
+   
+   /**
+    * Set the description. 
+    */
+   public void setDescription(String desc)
+   {
+      this.description = desc;
+   }
 
    /**
     * Get the link.
-    * 
-    * @return the link.
+    * @return link
     */
    public String getLink()
    {
-      return link;
+      return this.link;
    }
 
+
    /**
+    * Set the link.
+    */
+   public void setLink(String l)
+   {
+      this.link = l;
+   }
+
+
+   /**
     * Get the name.
     * 
     * @return the name.
     */
    public String getName()
    {
-      return name;
+      return this.name;
    }  
+
+   
+   /**
+    * Set the name.
+    * 
+    * @return the name.
+    */
+   public void setName(String n)
+   {
+      this.name = n;
+   }  
 }




More information about the jboss-cvs-commits mailing list