[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] fenfire/org/fenfire/modules/pp PPActionsImpl.java
From: |
Matti Katila |
Subject: |
[Gzz-commits] fenfire/org/fenfire/modules/pp PPActionsImpl.java |
Date: |
Fri, 07 Mar 2003 07:20:15 -0500 |
CVSROOT: /cvsroot/fenfire
Module name: fenfire
Changes by: Matti Katila <address@hidden> 03/03/07 07:20:05
Modified files:
org/fenfire/modules/pp: PPActionsImpl.java
Log message:
few fixes + previous commit msg s/tt/t/ :)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/modules/pp/PPActionsImpl.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: fenfire/org/fenfire/modules/pp/PPActionsImpl.java
diff -u fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.1
fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.2
--- fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.1 Fri Mar 7
07:06:59 2003
+++ fenfire/org/fenfire/modules/pp/PPActionsImpl.java Fri Mar 7 07:20:03 2003
@@ -14,13 +14,15 @@
/** The implementation of PPActions.
*/
public class PPActionsImpl extends UnicastRemoteObject implements PPActions {
-public static final String rcsid = "$Id: PPActionsImpl.java,v 1.1 2003/03/07
12:06:59 mudyc Exp $";
+public static final String rcsid = "$Id: PPActionsImpl.java,v 1.2 2003/03/07
12:20:03 mudyc Exp $";
public static final boolean dbg = true;
protected static void p(String s) { if(dbg) pa(s); }
protected static void pa(String s) { System.out.println(s); }
+ static public Property CONTAINS =
+ new PropertyImpl("http://fenfire.org/vocabularity/pp.html#contains");
static public Property CREATION_TIME =
new
PropertyImpl("http://fenfire.org/vocabularity/pp.html#creationTime");
static public Property COORD_X =
@@ -31,11 +33,10 @@
new PropertyImpl("http://fenfire.org/vocabularity/pp.html#depth");
-
static public Resource PAPER_TYPE =
new ResourceImpl("http://fenfire.org/vocabularity/pp.html#paper_type");
- static public Resource CONTAINS =
- new ResourceImpl("http://fenfire.org/vocabularity/pp.html#contains");
+ static public Resource NOTE =
+ new ResourceImpl("http://fenfire.org/vocabularity/pp.html#note");
@@ -112,12 +113,13 @@
// find the paper
Resource paper = model.getResource(paperURI);
- // set note to paper
- paper.addProperty(CONTAINS, );
-
// We need a unique uri for note
String uri = URN5NameSpace.instance().generateId();
Resource note = model.createResource(uri);
+ note.addProperty(RDF.type, NOTE);
+
+ // set note to paper
+ paper.addProperty(CONTAINS, note);
// set coords
note.addProperty(COORD_X, ""+x);
- [Gzz-commits] fenfire/org/fenfire/modules/pp PPActionsImpl.java,
Matti Katila <=