Created
November 4, 2010 19:07
-
-
Save jvillste/662980 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IKaivoDatabase { | |
void add(String subject, String predicate, String object); | |
void addWithObjectIndex(String subject, String predicate, String object, int index); | |
void addWithSubjectIndex(String node, String predicate, String newValue, int index); | |
void remove(String subject, String predicate, String object); | |
void removeObject(String subject, String predicate, int objectIndex); | |
void removeSubject(String object, String predicate, int subjectIndex); | |
void changeObject(String subject, String predicate, int index, String newObject); | |
void changeSubject(String node, String predicate, int index, String newValue); | |
String getObject(String subject, String predicate); | |
ArrayList<String> getObjects(String subject, String predicate); | |
String getSubject(String object, String predicate); | |
ArrayList<String> getSubjects(String object, String predicate); | |
ArrayList<String> getPropertyPredicates(String value); | |
String getObject(String subject, String predicate, int objectIndex); | |
String getSubject(String object, String predicate, int subjectIndex); | |
void setObject(String subject, String predicate, int object); | |
void add(String subject, String predicate, String object, int objectIndex, | |
int subjectIndex); | |
void setObject(String subject, String predicate, boolean object); | |
void setObject(String subject, String predicate, String object); | |
void setSubject(String object, String predicate, String subject); | |
void loadGraph(URI url); | |
void clear(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment