org.openrdf.sesame.sailimpl.memory
Interface ResourceNode
- All Superinterfaces:
- Comparable, Resource, Serializable, Value, ValueNode
- All Known Implementing Classes:
- BNodeNode, URINode
- public interface ResourceNode
- extends ValueNode, Resource
An extension of ValueNode giving it subject statements.
- Version:
- $Revision: 1.9.4.2 $
- Author:
- Arjohn Kampman, Jeen Broekstra
EMPTY_LIST
public static final StatementList EMPTY_LIST
getSubjectStatementList
public StatementList getSubjectStatementList()
getSubjectStatementCount
public int getSubjectStatementCount()
- Gets the amount of Statements for which this ResourceNode is the subject.
- Returns:
- An integer larger than or equal to 0.
addSubjectStatement
public void addSubjectStatement(Statement st)
- Adds a statement to this ResourceNode's list of statements for which
it is the subject.
removeSubjectStatement
public void removeSubjectStatement(Statement st)
- Removes a statement from this ResourceNode's list of statements for which
it is the subject.
getDirectTypeStatements
public StatementIterator getDirectTypeStatements()
getDirectSubClassStatements
public StatementIterator getDirectSubClassStatements()
getDirectSubPropertyStatements
public StatementIterator getDirectSubPropertyStatements()
isDirectType
public boolean isDirectType(Resource aClass)
isDirectSubClass
public boolean isDirectSubClass(Resource aClass)
isDirectSubProperty
public boolean isDirectSubProperty(Resource aProperty)
clearCache
public void clearCache()
- clears all caches for direct type, subclass and subproperty relations.
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.