[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Thu Jul 28 15:27:07 UTC 2005


kawas
Thu Jul 28 11:27:07 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier
In directory pub.open-bio.org:/tmp/cvs-serv4014/org/biomoby/registry/rdfagent/verifier

Modified Files:
	ServSignature.java 
Log Message:
added some new class properties and methods to set/get them.

moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier ServSignature.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/ServSignature.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/ServSignature.java	2004/10/28 17:55:43	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/ServSignature.java	2005/07/28 15:27:07	1.2
@@ -1,104 +1,139 @@
-package org.biomoby.registry.rdfagent.verifier;
-
-
-/**
- * @author Nina Opushneva
- *
- * This class represents the model data for the service signature. 
- * It is a value-object and has fine-grained getter and setter
- * methods. 
- */
-public class ServSignature {
-	
-	int servInstId;
-	int authId;
-	String category;
-	String serviceType;		
-	String url;
-	String email;
-	String authoritative;
-	String description;
-	
-
-    public ServSignature() {
-    }
-
-    public ServSignature(int servInstId, int authId, String category, String serviceType, String url, String email, String authoritative, String description  ) {
- 
-		this.servInstId = servInstId;
-		this.authId = authId;
-		this.category = category;
-        this.serviceType = serviceType;
-        this.url = url;
-        this.email = email;
-		this.authoritative = authoritative;
-        this.description = description;
-        
-    }
-    
-	public int getServInstId() {
-		   return servInstId;
-	   }
-
-	public void setServInstId(int servInstId) {
-		   this.servInstId = servInstId;
-	   }
-	 
-	public int getAuthId() {
-		   return authId;
-		   }
-
-	public void setAuthId(int authId) {
-		   this.authId = authId;
-		   }  
-    
-	public String getCategory() {
-		   return category;
-	   }
-
-	public void setCategory(String category) {
-		   this.category = category;
-	   }
-
-    public String getServiceType() {
-        return serviceType;
-    }
-
-    public void setServiceType(String serviceType) {
-        this.serviceType = serviceType;
-    }   
-
-    public String getUrl() {
-        return url;
-    }
-
-    public void setUrl(String url) {
-        this.url = url;
-    }
-
-    public String getEmail() {
-        return email;
-    }
-
-    public void setEmail(String email) {
-        this.email = email;
-    }
-    
-	public String getAuthoritative() {
-		   return authoritative;
-	   }
-
-	public void setAuthoritative(String authoritative) {
-		   this.authoritative = authoritative;
-	   }
-
-    public String getDescription() {
-        return description;
-    }
-
-    public void setDescription(String description) {
-        this.description = description;
-    }
-
-   
-}
+package org.biomoby.registry.rdfagent.verifier;
+
+/**
+ * @author Nina Opushneva
+ * 
+ * This class represents the model data for the service signature. It is a
+ * value-object and has fine-grained getter and setter methods.
+ */
+public class ServSignature {
+
+    private int servInstId;
+
+    private int authId;
+
+    private String category;
+
+    private String serviceType;
+
+    private String url;
+
+    private String email;
+
+    private String authoritative;
+
+    private String description;
+
+    private String signatureURL;
+
+    private String name;
+
+    public ServSignature() {
+    }
+
+    public ServSignature(int servInstId, int authId, String category,
+            String serviceType, String url, String email, String authoritative,
+            String description, String serviceName, String signatureURL) {
+
+        this.servInstId = servInstId;
+        this.authId = authId;
+        this.category = category;
+        this.serviceType = serviceType;
+        this.url = url;
+        this.email = email;
+        this.authoritative = authoritative;
+        this.description = description;
+        this.name = serviceName;
+        this.signatureURL = signatureURL;
+
+    }
+
+    public int getServInstId() {
+        return servInstId;
+    }
+
+    public void setServInstId(int servInstId) {
+        this.servInstId = servInstId;
+    }
+
+    public int getAuthId() {
+        return authId;
+    }
+
+    public void setAuthId(int authId) {
+        this.authId = authId;
+    }
+
+    public String getCategory() {
+        return category;
+    }
+
+    public void setCategory(String category) {
+        this.category = category;
+    }
+
+    public String getServiceType() {
+        return serviceType;
+    }
+
+    public void setServiceType(String serviceType) {
+        this.serviceType = serviceType;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public void setUrl(String url) {
+        this.url = url;
+    }
+
+    public String getEmail() {
+        return email;
+    }
+
+    public void setEmail(String email) {
+        this.email = email;
+    }
+
+    public String getAuthoritative() {
+        return authoritative;
+    }
+
+    public void setAuthoritative(String authoritative) {
+        this.authoritative = authoritative;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    
+    public String getServiceName() {
+        return name;
+    }
+    public void setServiceName(String name) {
+        this.name = name;
+    }
+    public String getSignatureURL() {
+        return signatureURL;
+    }
+    public void setSignatureURL(String signatureURL) {
+        this.signatureURL = signatureURL;
+    }
+    
+    public String toString() {
+        return "Service Name " + this.name + "\n" + "SignatureURL  "
+                + this.signatureURL + "Service ID " + this.servInstId + "\n"
+                + "Authority ID " + this.authId + "\n" + "Category "
+                + this.category + "\n" + "Service Type " + this.serviceType
+                + "\n" + "Service Endpoint " + this.url + "\n"
+                + "Contact Email address " + this.email + "\n"
+                + "Authoritative? " + this.authoritative + "\n"
+                + "Description " + this.description + "\n";
+    }
+}
\ No newline at end of file




More information about the MOBY-guts mailing list