You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2006/12/24 00:00:08 UTC

svn commit: r489944 - /portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.java

Author: dlouzan
Date: Sat Dec 23 15:00:08 2006
New Revision: 489944

URL: http://svn.apache.org/viewvc?view=rev&rev=489944
Log:
Added an id property to WSRPServiceDescription for being able to store it on db

Modified:
    portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.java

Modified: portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.java
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.java?view=diff&rev=489944&r1=489943&r2=489944
==============================================================================
--- portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.java (original)
+++ portals/wsrp4j/trunk/commons/src/java/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.java Sat Dec 23 15:00:08 2006
@@ -34,6 +34,9 @@
      * servicedescription and retured by method getRequiresInitCookie()
      */
     private String initCookieRequired;
+    
+    /* Id of this service description */
+    private String id;
 
     /**
      * Default Constructor
@@ -60,6 +63,24 @@
         this.setExtensions(serviceDescription.getExtensions());
 
         this.initCookieRequired = this.getRequiresInitCookie().toString();
+    }
+    
+    /**
+     * Returns the id of this service description
+     * 
+     * @return The id of this service description
+     */
+    public String getId() {
+        return id;
+    }
+    
+    /**
+     * Sets the id of this service description
+     *
+     * @param id The new id
+     */
+    public void setId(String id) {
+        this.id = id;
     }
 
     /**