|
From: Elmer G. <ega...@us...> - 2004-08-25 23:59:59
|
Update of /cvsroot/javaowl/JavaOWL/src/org/javaowl/editor/remote In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv321/src/org/javaowl/editor/remote Modified Files: RemoteModelEditor.java RemoteModelEditorWrapper.java Log Message: More remote api changes Index: RemoteModelEditorWrapper.java =================================================================== RCS file: /cvsroot/javaowl/JavaOWL/src/org/javaowl/editor/remote/RemoteModelEditorWrapper.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** RemoteModelEditorWrapper.java 25 Aug 2004 19:19:22 -0000 1.11 --- RemoteModelEditorWrapper.java 25 Aug 2004 23:59:48 -0000 1.12 *************** *** 69,73 **** try { SerializableTriple triple = ! remote.addDataValue(resource.getURI(), property.getURI(), value.getURI()); return createStatementFromTriple(triple); } catch (RemoteException e) { --- 69,73 ---- try { SerializableTriple triple = ! remote.addObjectValue(resource.getURI(), property.getURI(), value.getURI()); return createStatementFromTriple(triple); } catch (RemoteException e) { *************** *** 79,83 **** String value) { try { ! remote.addDataValue(resource.getURI(), property.getURI(), value); } catch (RemoteException e) { throw new RuntimeException(e); --- 79,83 ---- String value) { try { ! remote.addPropertyValue(resource.getURI(), property.getURI(), value); } catch (RemoteException e) { throw new RuntimeException(e); *************** *** 231,236 **** } ! public Literal getTypedLiteral(Object value, OntResource type) { ! return ontModel.createTypedLiteral(value, type.getURI()); } --- 231,236 ---- } ! public Literal getTypedLiteral(Object value, String typeURI) { ! return ontModel.createTypedLiteral(value, typeURI); } Index: RemoteModelEditor.java =================================================================== RCS file: /cvsroot/javaowl/JavaOWL/src/org/javaowl/editor/remote/RemoteModelEditor.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** RemoteModelEditor.java 25 Aug 2004 19:12:00 -0000 1.8 --- RemoteModelEditor.java 25 Aug 2004 23:59:48 -0000 1.9 *************** *** 24,31 **** public interface RemoteModelEditor extends Remote{ ! ! SerializableTriple addDataValue(String resource, String property, String object) throws RemoteException; ! ! SerializableTriple addDataValue(String resource, String property, String value, String dataType) throws RemoteException; void clearEditor() throws RemoteException; --- 24,36 ---- public interface RemoteModelEditor extends Remote{ ! ! SerializableTriple addDataValue(String resource, String property, String value, ! String dataType) throws RemoteException; ! ! SerializableTriple addObjectValue(String resource, String property, String value) ! throws RemoteException; ! ! void addPropertyValue(String resource, String property, String value) ! throws RemoteException; void clearEditor() throws RemoteException; *************** *** 45,51 **** String[] getInstances(String clazz, boolean all) throws RemoteException; ! String[] getProperties(String resource, boolean all) throws RemoteException; ! String getPropertyValue(String clazz, String label, boolean uri) throws RemoteException; String[] getSubClasses(String clazz) throws RemoteException; --- 50,57 ---- String[] getInstances(String clazz, boolean all) throws RemoteException; ! String[] getProperties(String clazz, boolean all) throws RemoteException; ! String getPropertyValue(String clazz, String property, boolean uri) ! throws RemoteException; String[] getSubClasses(String clazz) throws RemoteException; *************** *** 60,67 **** void removeStatement(SerializableTriple statement) throws RemoteException; - - void setComment(String resource, String comment) throws RemoteException; - - void setLabel(String resource, String label) throws RemoteException; - } --- 66,68 ---- |