From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra
Date: Friday January 26, 19101 @ 3:21
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra
-----------------------------------
Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra
In directory giga:/tmp/cvs-serv9132/src/java/org/openprivacy/sierra
Modified Files:
Opinion.java Reputation.java Value.java
Log Message:
now using URI instead of URIReference
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/Opinion.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Opinion.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Opinion.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Opinion.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/Opinion.java
diff -u sierra/src/java/org/openprivacy/sierra/Opinion.java:1.1 sierra/src/java/org/openprivacy/sierra/Opinion.java:1.2
--- sierra/src/java/org/openprivacy/sierra/Opinion.java:1.1 Tue Jan 16 08:35:59 2001
+++ sierra/src/java/org/openprivacy/sierra/Opinion.java Fri Jan 26 03:21:20 2001
@@ -19,9 +19,11 @@
import org.openprivacy.sierra.util.*;
+import java.net.URI;
+
public class Opinion {
- private URIReference ontology;
+ private URI ontology;
private Concept concept;
@@ -31,7 +33,7 @@
* Get the value of concept.
* @return value of concept.
*/
- public URIReference getOntology() {
+ public URI getOntology() {
return ontology;
}
@@ -39,7 +41,7 @@
* Set the value of concept.
* @param v Value to assign to concept.
*/
- public void setOntology(URIReference v) {
+ public void setOntology(URI v) {
this.ontology = v;
}
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/Reputation.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Reputation.java?annotate=1.11
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Reputation.java?rev=1.11&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Reputation.java.diff?r1=1.11&r2=1.10
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/Reputation.java
diff -u sierra/src/java/org/openprivacy/sierra/Reputation.java:1.10 sierra/src/java/org/openprivacy/sierra/Reputation.java:1.11
--- sierra/src/java/org/openprivacy/sierra/Reputation.java:1.10 Tue Jan 16 09:41:39 2001
+++ sierra/src/java/org/openprivacy/sierra/Reputation.java Fri Jan 26 03:21:20 2001
@@ -18,6 +18,7 @@
package org.openprivacy.sierra;
import java.util.*;
+import java.net.URI;
import org.openprivacy.sierra.util.*;
@@ -25,7 +26,7 @@
* Results from a Reputation server request.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Reputation.java,v 1.10 2001/01/16 17:41:39 burton Exp $
+ * @version $Id: Reputation.java,v 1.11 2001/01/26 11:21:20 burton Exp $
*/
public class Reputation {
@@ -39,13 +40,13 @@
/**
The User which generated this reputation.
*/
- private URIReference principal = null;
+ private URI principal = null;
private String hash = null;
public Reputation() {}
- public Reputation( URIReference principal, String reference ) {
+ public Reputation( URI principal, String reference ) {
this.principal = principal;
this.reference = reference;
}
@@ -78,11 +79,11 @@
this.reference = reference;
}
- public URIReference getPrincipal() {
+ public URI getPrincipal() {
return this.principal;
}
- public void setPrincipal( URIReference principal ) {
+ public void setPrincipal( URI principal ) {
this.principal = principal;
}
@@ -111,7 +112,7 @@
* <ul>
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Reputation.java,v 1.10 2001/01/16 17:41:39 burton Exp $
+ * @version $Id: Reputation.java,v 1.11 2001/01/26 11:21:20 burton Exp $
*/
public String getHash() {
@@ -122,7 +123,7 @@
/**
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Reputation.java,v 1.10 2001/01/16 17:41:39 burton Exp $
+ * @version $Id: Reputation.java,v 1.11 2001/01/26 11:21:20 burton Exp $
*/
public void setHash( String hash ) {
this.hash = hash;
@@ -137,12 +138,12 @@
* SERVER is optional.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Reputation.java,v 1.10 2001/01/16 17:41:39 burton Exp $
+ * @version $Id: Reputation.java,v 1.11 2001/01/26 11:21:20 burton Exp $
*/
- public URIReference getURI() {
+ public URI getURI() {
//FIXME: should we use a Server??
- return new URIReference( "reputation:///" +
+ return new URI( "reputation:///" +
this.getPrincipal().toString() +
"/" +
getHash() );
@@ -152,7 +153,7 @@
* Get human output for this Reputation
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Reputation.java,v 1.10 2001/01/16 17:41:39 burton Exp $
+ * @version $Id: Reputation.java,v 1.11 2001/01/26 11:21:20 burton Exp $
*/
public String getPrettyPrint() {
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/Value.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Value.java?annotate=1.7
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Value.java?rev=1.7&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/Value.java.diff?r1=1.7&r2=1.6
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/Value.java
diff -u sierra/src/java/org/openprivacy/sierra/Value.java:1.6 sierra/src/java/org/openprivacy/sierra/Value.java:1.7
--- sierra/src/java/org/openprivacy/sierra/Value.java:1.6 Tue Jan 16 05:59:55 2001
+++ sierra/src/java/org/openprivacy/sierra/Value.java Fri Jan 26 03:21:20 2001
@@ -19,12 +19,14 @@
import org.openprivacy.sierra.util.*;
+import java.net.URI;
+
public class Value {
private String name = null;
private String data = null;
- private URIReference ontology = null;
+ private URI ontology = null;
public Value() { }
This archive was generated by hypermail 2b30 : Fri Jan 26 2001 - 03:21:25 PST