olr.rdf
Class AbstractStatementPool
java.lang.Object
olr.rdf.AbstractStatementPool
- All Implemented Interfaces:
- StatementPool
- public abstract class AbstractStatementPool
- extends java.lang.Object
- implements StatementPool
Field Summary |
protected java.util.Map |
resources
|
Method Summary |
void |
addAttributeAbout(java.lang.String subject,
Attribute attribute)
|
void |
addParsedNamespaceURI(java.lang.String namespaceURI)
|
void |
addParsedNamespaceURI(java.lang.String namespaceURI,
java.lang.String title)
|
void |
addStatement(Statement statement)
|
java.lang.String |
createInstanceOf(java.lang.String namespace,
java.lang.String classResource)
|
java.util.List |
getAllDomains(java.lang.String property)
|
java.util.List |
getAllInstances(java.lang.String subject)
|
java.util.List |
getAllPropertiesForClass(java.lang.String classResource)
|
java.util.List |
getAllRanges(java.lang.String property)
|
java.util.List |
getAllSubClasses(java.util.List classResources)
|
java.util.List |
getAllSubClasses(java.lang.String classResource)
|
java.util.List |
getAllSuperClasses(java.lang.String classResource)
|
java.util.List |
getAttributesAbout(java.lang.String subject)
|
java.util.List |
getAvailableProperties4Resource(java.lang.String subject)
|
protected abstract long |
getInstanceId()
|
Resource |
getResource(java.lang.String subject)
|
java.lang.String |
getResourceTitle(Resource resource)
|
java.lang.String |
getResourceTitle(java.lang.String resource)
|
java.util.List |
getSpecificAttributesAbout(java.lang.String subject,
java.lang.String predicate)
|
boolean |
hasAttribute(java.lang.String subject,
java.lang.String predicate,
java.lang.String object)
|
static boolean |
isClass(Resource resource)
|
boolean |
isClass(java.lang.String resource)
|
boolean |
isCourse(java.lang.String uri)
|
boolean |
isInstanceOf(Resource resource,
java.lang.String classResource)
|
boolean |
isInstanceOf(java.lang.String resource,
java.lang.String classResource)
|
boolean |
isParsedNamespaceURI(java.lang.String namespaceURI)
|
boolean |
isProperty(Resource resource)
|
boolean |
isProperty(java.lang.String resource)
|
boolean |
isSubClassOf(java.lang.String class1,
java.lang.String class2)
|
void |
removeAttributeAbout(java.lang.String subject,
Attribute attribute)
|
void |
removeParsedNamespaceURI(java.lang.String namespaceURI)
|
void |
removeStatement(Statement statement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
protected java.util.Map resources
AbstractStatementPool
public AbstractStatementPool()
isParsedNamespaceURI
public boolean isParsedNamespaceURI(java.lang.String namespaceURI)
- Specified by:
isParsedNamespaceURI
in interface StatementPool
addParsedNamespaceURI
public void addParsedNamespaceURI(java.lang.String namespaceURI)
- Specified by:
addParsedNamespaceURI
in interface StatementPool
addParsedNamespaceURI
public void addParsedNamespaceURI(java.lang.String namespaceURI,
java.lang.String title)
- Specified by:
addParsedNamespaceURI
in interface StatementPool
removeParsedNamespaceURI
public void removeParsedNamespaceURI(java.lang.String namespaceURI)
- Specified by:
removeParsedNamespaceURI
in interface StatementPool
addStatement
public void addStatement(Statement statement)
- Specified by:
addStatement
in interface StatementPool
addAttributeAbout
public void addAttributeAbout(java.lang.String subject,
Attribute attribute)
- Specified by:
addAttributeAbout
in interface StatementPool
removeStatement
public void removeStatement(Statement statement)
- Specified by:
removeStatement
in interface StatementPool
removeAttributeAbout
public void removeAttributeAbout(java.lang.String subject,
Attribute attribute)
- Specified by:
removeAttributeAbout
in interface StatementPool
getAttributesAbout
public java.util.List getAttributesAbout(java.lang.String subject)
- Specified by:
getAttributesAbout
in interface StatementPool
getSpecificAttributesAbout
public java.util.List getSpecificAttributesAbout(java.lang.String subject,
java.lang.String predicate)
- Specified by:
getSpecificAttributesAbout
in interface StatementPool
getResource
public Resource getResource(java.lang.String subject)
- Specified by:
getResource
in interface StatementPool
hasAttribute
public boolean hasAttribute(java.lang.String subject,
java.lang.String predicate,
java.lang.String object)
- Specified by:
hasAttribute
in interface StatementPool
isClass
public boolean isClass(java.lang.String resource)
- Specified by:
isClass
in interface StatementPool
isClass
public static boolean isClass(Resource resource)
isProperty
public boolean isProperty(java.lang.String resource)
- Specified by:
isProperty
in interface StatementPool
isProperty
public boolean isProperty(Resource resource)
- Specified by:
isProperty
in interface StatementPool
getResourceTitle
public java.lang.String getResourceTitle(java.lang.String resource)
- Specified by:
getResourceTitle
in interface StatementPool
getResourceTitle
public java.lang.String getResourceTitle(Resource resource)
- Specified by:
getResourceTitle
in interface StatementPool
isSubClassOf
public boolean isSubClassOf(java.lang.String class1,
java.lang.String class2)
- Specified by:
isSubClassOf
in interface StatementPool
isInstanceOf
public boolean isInstanceOf(java.lang.String resource,
java.lang.String classResource)
- Specified by:
isInstanceOf
in interface StatementPool
isInstanceOf
public boolean isInstanceOf(Resource resource,
java.lang.String classResource)
- Specified by:
isInstanceOf
in interface StatementPool
isCourse
public boolean isCourse(java.lang.String uri)
- Specified by:
isCourse
in interface StatementPool
createInstanceOf
public java.lang.String createInstanceOf(java.lang.String namespace,
java.lang.String classResource)
- Specified by:
createInstanceOf
in interface StatementPool
getAllInstances
public java.util.List getAllInstances(java.lang.String subject)
- Specified by:
getAllInstances
in interface StatementPool
getAllSubClasses
public java.util.List getAllSubClasses(java.util.List classResources)
- Specified by:
getAllSubClasses
in interface StatementPool
getAllSubClasses
public java.util.List getAllSubClasses(java.lang.String classResource)
- Specified by:
getAllSubClasses
in interface StatementPool
getAllSuperClasses
public java.util.List getAllSuperClasses(java.lang.String classResource)
- Specified by:
getAllSuperClasses
in interface StatementPool
getAllPropertiesForClass
public java.util.List getAllPropertiesForClass(java.lang.String classResource)
- Specified by:
getAllPropertiesForClass
in interface StatementPool
getAllDomains
public java.util.List getAllDomains(java.lang.String property)
- Specified by:
getAllDomains
in interface StatementPool
getAllRanges
public java.util.List getAllRanges(java.lang.String property)
- Specified by:
getAllRanges
in interface StatementPool
getAvailableProperties4Resource
public java.util.List getAvailableProperties4Resource(java.lang.String subject)
- Specified by:
getAvailableProperties4Resource
in interface StatementPool
getInstanceId
protected abstract long getInstanceId()
Copyright © 2001-2004 University of Hannover. All Rights Reserved.