|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRDF_Namespace
| Method Summary | |
|---|---|
void |
addClass(IRDF_Class rdf_class)
Adds an RDF_Class in Main Memort |
void |
addNamespaceDependency(IRDF_Namespace namespace)
Adds a namespace dependency to this namespace |
void |
addProperty(IRDF_Property rdf_property)
Adds an RDF_Property in Main Memort |
void |
addStatement(IRDF_Statement rdf_statement)
Adds an RDF_Statement in Main Memort |
IRDF_Class |
getClass(java.lang.String class_uri)
Retrieves an RDF_Class from MM given its uri |
java.util.HashMap |
getClasses()
Retrieves all the classes defined in this namespace |
java.util.Collection |
getComment(IRDF_Resource rdf_resource)
Retrieves the Collection of RDF_Comment objects in which rdf_resource "participates" |
org.apache.commons.collections.MultiMap |
getComments()
Retrieves all the comment relations stored in main memory |
java.util.Collection |
getDomain(IRDF_Property rdf_property)
Retrieves the Collection of RDF_Domains objects in which rdf_property "participates" |
org.apache.commons.collections.MultiMap |
getDomains()
Retrieves all the domain relations stored in main memory |
java.util.Collection |
getIsDefinedBy(IRDF_Resource rdf_resource)
Retrieves the Collection of RDF_IsDefinedBy objects in which rdf_resource "participates" |
org.apache.commons.collections.MultiMap |
getIsDefinedBys()
Retrieves all the isDefinedBy relations stored in main memory |
java.util.Collection |
getLabel(IRDF_Resource rdf_resource)
Retrieves the Collection of RDF_Label objects in which rdf_resource "participates" |
org.apache.commons.collections.MultiMap |
getLabels()
Retrieves all the label relations stored in main memory |
java.util.Collection |
getMember(IRDF_Container container)
Retrieves the Collection of RDF_Member objects in which rdf_container "participates" |
org.apache.commons.collections.MultiMap |
getMembers()
Retrieves all the container membership relations stored in main memory |
IRDF_Model |
getModel()
|
java.util.HashMap<java.lang.String,IRDF_Namespace> |
getNamespaceDependencies()
Gets the namespaces this namespace depends on |
IRDF_Object |
getObject(IRDF_Statement rdf_statement)
Retrieves the Collection of RDF_Object objects in which rdf_statement "participates" |
java.util.HashMap<IRDF_Statement,IRDF_Object> |
getObjects()
Retrieves all the object relations stored in main memory |
IRDF_Predicate |
getPredicate(IRDF_Statement statement)
Retrieves the Collection of RDF_Predicate objects in which statement "participates" |
java.util.HashMap<IRDF_Statement,IRDF_Predicate> |
getPredicates()
Retrieves all the predicate relations stored in main memory |
java.util.HashMap |
getProperties()
Retrieves all the properties defined in this namespace |
IRDF_Property |
getProperty(java.lang.String property_uri)
Retrieves an RDF_Property from MM given its uri |
java.util.Collection |
getRange(IRDF_Property rdf_property)
Retrieves the Collection of RDF_Range objects in which rdf_property "participates" |
org.apache.commons.collections.MultiMap |
getRanges()
Retrieves all the range relations stored in main memory |
java.util.Collection |
getSeeAlso(IRDF_Resource rdf_resource)
Retrieves the Collection of RDF_SeeAlso objects in which rdf_resource "participates" |
org.apache.commons.collections.MultiMap |
getSeeAlsos()
Retrieves all the seeAlso relations stored in main memory |
IRDF_Statement |
getStatement(java.lang.String statement_uri)
Retrieves an RDF_Statement from MM given its uri |
java.util.HashMap |
getStatements()
Retrieves all the statementes defined in this namespace |
java.util.Collection |
getSubClass(IRDF_Class rdf_class)
Retrieves the Collection of RDF_SubClass objects in which rdf_class "participates" |
org.apache.commons.collections.MultiMap |
getSubClasses()
Retrieves all the subClass relations stored in main memory |
IRDF_Subject |
getSubject(IRDF_Statement rdf_statement)
Retrieves the Collection of RDF_Subject objects in which rdf_statement "participates" |
java.util.HashMap<IRDF_Statement,IRDF_Subject> |
getSubjects()
Retrieves all the subject relations stored in main memory |
org.apache.commons.collections.MultiMap |
getSubProperties()
Retrieves all the subProperty relations stored in main memory |
java.util.Collection |
getSubProperty(IRDF_Property rdf_property)
Retrieves the Collection of RDF_SubProperty objects in which rdf_property "participates" as the subproperty. |
java.util.Collection<IRDF_Triple> |
getTriples()
Returns a Collection of all triples correlated to this namespace |
java.util.Collection |
getType(IRDF_Resource rdf_type)
Retrieves the Collection of RDF_Type objects in which rdf_type "participates" |
org.apache.commons.collections.MultiMap |
getTypes()
Retrieves all the type relations stored in main memory |
java.lang.String |
getURI()
Retrieves the base uri of this namespace |
void |
setClasses(java.util.HashMap classes)
Sets all the classes of this namespace |
void |
setNamespaceDependencies(java.util.HashMap<java.lang.String,IRDF_Namespace> dependencies)
Sets the namespaces this namespace depends on |
void |
setProperties(java.util.HashMap properties)
Sets all the properties of this namespace |
void |
setStatements(java.util.HashMap statements)
Sets all the statementes of this namespace |
void |
setURI(java.lang.String uri)
Sets the base uri of this namespace |
java.lang.String |
toString()
|
java.util.Collection |
toTriples()
Returns a collection of triples where each triple is represented by a collection of 3 string values, subject predicate object |
| Method Detail |
|---|
java.lang.String getURI()
getURI in interface Identifiablevoid setURI(java.lang.String uri)
setURI in interface Identifiableuri - A Stringjava.util.HashMap getClasses()
void setClasses(java.util.HashMap classes)
classes - A HashMap of (String)class_uri,RDF_Class pairsIRDF_Class getClass(java.lang.String class_uri)
class_uri - A String representing the uri of the class
void addClass(IRDF_Class rdf_class)
rdf_class - An RDF_Class objectjava.util.HashMap getProperties()
void setProperties(java.util.HashMap properties)
properties - A HashMap of (String)property_uri,RDF_Property pairsIRDF_Property getProperty(java.lang.String property_uri)
property_uri - A String representing the uri of the property
void addProperty(IRDF_Property rdf_property)
rdf_property - An RDF_Property objectjava.util.HashMap getStatements()
void setStatements(java.util.HashMap statements)
statementes - A HashMap of (String)statement_uri,RDF_Statement pairsIRDF_Statement getStatement(java.lang.String statement_uri)
statement_uri - A String representing the uri of the statement
void addStatement(IRDF_Statement rdf_statement)
rdf_statement - An RDF_Statement objectorg.apache.commons.collections.MultiMap getSubClasses()
java.util.Collection getSubClass(IRDF_Class rdf_class)
rdf_class - An RDF_Class
org.apache.commons.collections.MultiMap getSubProperties()
java.util.Collection getSubProperty(IRDF_Property rdf_property)
rdf_property - An RDF_Property
org.apache.commons.collections.MultiMap getTypes()
java.util.Collection getType(IRDF_Resource rdf_type)
rdf_type - An RDF_Resource
org.apache.commons.collections.MultiMap getDomains()
java.util.Collection getDomain(IRDF_Property rdf_property)
rdf_property - An RDF_Property
org.apache.commons.collections.MultiMap getRanges()
java.util.Collection getRange(IRDF_Property rdf_property)
rdf_property - An IRDF_Property
org.apache.commons.collections.MultiMap getComments()
java.util.Collection getComment(IRDF_Resource rdf_resource)
rdf_resource - An RDF_Resource
org.apache.commons.collections.MultiMap getLabels()
java.util.Collection getLabel(IRDF_Resource rdf_resource)
rdf_resource - An RDF_Resource
org.apache.commons.collections.MultiMap getSeeAlsos()
java.util.Collection getSeeAlso(IRDF_Resource rdf_resource)
rdf_resource - An IRDF_Resource
org.apache.commons.collections.MultiMap getIsDefinedBys()
java.util.Collection getIsDefinedBy(IRDF_Resource rdf_resource)
rdf_resource - An IRDF_Resource
java.util.HashMap<IRDF_Statement,IRDF_Subject> getSubjects()
IRDF_Subject getSubject(IRDF_Statement rdf_statement)
rdf_statement - An RDF_Statement
java.util.HashMap<IRDF_Statement,IRDF_Object> getObjects()
IRDF_Object getObject(IRDF_Statement rdf_statement)
rdf_statement - An IRDF_Statement
java.util.HashMap<IRDF_Statement,IRDF_Predicate> getPredicates()
IRDF_Predicate getPredicate(IRDF_Statement statement)
statement - An IRDF_Statement
org.apache.commons.collections.MultiMap getMembers()
java.util.Collection getMember(IRDF_Container container)
container - An RDF_Container
java.util.HashMap<java.lang.String,IRDF_Namespace> getNamespaceDependencies()
void setNamespaceDependencies(java.util.HashMap<java.lang.String,IRDF_Namespace> dependencies)
dependencies - An HashMapvoid addNamespaceDependency(IRDF_Namespace namespace)
namespace - An IRDF_Namespace objectjava.util.Collection toTriples()
java.lang.String toString()
toString in class java.lang.ObjectIRDF_Model getModel()
java.util.Collection<IRDF_Triple> getTriples()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||