|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRDF_Graphspace
Graphspace contains the same Maps to namespace regarding schema triples with the note that what is stored there are references to the triples stored in the namespace
| Method Summary | |
|---|---|
void |
addComment(IRDF_Resource resource,
IRDF_Comment comment)
Adds a comment relation in Main Memory |
void |
addDomain(IRDF_Property property,
IRDF_Domain domain)
Adds a domain relation in Main Memory |
void |
addGraphspaceDependency(IRDF_Graphspace graphspace)
Adds a graphspace dependency to this graphspace |
void |
addIsDefinedBy(IRDF_Resource resource,
IRDF_IsDefinedBy isdefinedby)
Adds a isDefinedBy relation in Main Memory |
void |
addLabel(IRDF_Resource resource,
IRDF_Label label)
Adds a label relation in Main Memory |
void |
addMember(IRDF_Container container,
IRDF_Member member)
Adds a member relation in Main Memory |
void |
addNamespaceDependency(IRDF_Namespace namespace)
Adds a namespace dependency to this graphspace |
void |
addObject(IRDF_Statement statement,
IRDF_Object object)
Adds a object relation in Main Memory |
void |
addPredicate(IRDF_Statement statement,
IRDF_Predicate predicate)
Adds a predicate relation in Main Memory |
void |
addPropertyInstance(IRDF_PropertyInstance property_instance)
Correlates a property instance to this graphspace |
void |
addRange(IRDF_Property property,
IRDF_Range range)
Adds a range relation in Main Memory |
void |
addSeeAlso(IRDF_Resource resource,
IRDF_SeeAlso seealso)
Adds a seeAlso relation in Main Memory |
void |
addSubClass(IRDF_Class rdf_class,
IRDF_SubClass subclass)
Adds a subClass relation in Main Memory |
void |
addSubject(IRDF_Statement statement,
IRDF_Subject subject)
Adds a subject relation in Main Memory |
void |
addSubProperty(IRDF_Property property,
IRDF_SubProperty subproperty)
Adds a subProperty relation in Main Memory |
void |
addType(IRDF_Resource resource,
IRDF_Type type)
Adds a type relation in Main Memory |
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 |
org.apache.commons.collections.MultiMap |
getDomains()
Retrieves all the domain relations stored in main memory |
java.util.Collection |
getDomains(IRDF_Property rdf_property)
Retrieves the Collection of RDF_Domains objects in which rdf_property "participates" |
java.util.HashMap<java.lang.String,IRDF_Graphspace> |
getGraphspaceDependencies()
Gets the graphspaces this graphspace depends on |
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 graphspace 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 |
IRDF_PropertyInstance |
getPropertyInstance(java.lang.String property_instance_uri)
Retrieves a property instance correlated to this property instance |
org.apache.commons.collections.MultiMap |
getPropertyInstances()
Retrieves the property instances correlated to this graphspace |
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 |
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" |
java.util.Collection<IRDF_Triple> |
getTriples()
Returns a Collection of all triples correlated to this graphspace |
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 |
setComments(org.apache.commons.collections.MultiMap comments)
Sets the comment Relationships defined in this namespace |
void |
setDomains(org.apache.commons.collections.MultiMap domains)
Sets the domain Relationships defined in this namespace |
void |
setGraphspaceDependencies(java.util.HashMap<java.lang.String,IRDF_Graphspace> dependencies)
Sets the graphspaces this graphspace depends on |
void |
setIsDefinedBys(org.apache.commons.collections.MultiMap is_defined_bys)
Sets the isDefinedBy Relationships defined in this namespace |
void |
setLabels(org.apache.commons.collections.MultiMap labels)
Sets the label Relationships defined in this namespace |
void |
setMembers(org.apache.commons.collections.MultiMap members)
Sets the container membership Relationships defined in this namespace |
void |
setNamespaceDependencies(java.util.HashMap<java.lang.String,IRDF_Namespace> dependencies)
Sets the namespaces this graphspace depends on |
void |
setObjects(java.util.HashMap<IRDF_Statement,IRDF_Object> objects)
Sets the object Relationships defined in this namespace |
void |
setPredicates(java.util.HashMap<IRDF_Statement,IRDF_Predicate> predicates)
Sets the predicate Relationships defined in this namespace |
void |
setPropertyInstances(org.apache.commons.collections.MultiMap property_instances)
Sets the property instances correlated to this graphspace |
void |
setRanges(org.apache.commons.collections.MultiMap ranges)
Sets the range Relationships defined in this namespace |
void |
setSeeAlsos(org.apache.commons.collections.MultiMap see_alsos)
Sets the seeAlso Relationships defined in this namespace |
void |
setSubClasses(org.apache.commons.collections.MultiMap sub_classes)
Sets the subClass Relationships defined in this namespace |
void |
setSubjects(java.util.HashMap<IRDF_Statement,IRDF_Subject> subjects)
Sets the subject Relationships defined in this namespace |
void |
setSubProperties(org.apache.commons.collections.MultiMap sub_properies)
Sets the subProperty Relationships defined in this namespace |
void |
setTypes(org.apache.commons.collections.MultiMap types)
Sets the type Relationships defined in this namespace |
void |
setURI(java.lang.String uri)
Sets the base uri of this namespace |
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 Stringorg.apache.commons.collections.MultiMap getPropertyInstances()
void setPropertyInstances(org.apache.commons.collections.MultiMap property_instances)
property_instances - A HashMapIRDF_PropertyInstance getPropertyInstance(java.lang.String property_instance_uri)
property_instance_uri - A String
void addPropertyInstance(IRDF_PropertyInstance property_instance)
property_instance - An IRDF_PropertyInstanceorg.apache.commons.collections.MultiMap getSubClasses()
void setSubClasses(org.apache.commons.collections.MultiMap sub_classes)
sub_classes - A MultiMap with keys RDF_Class objects and values collections of RDF_SubClass objectsjava.util.Collection getSubClass(IRDF_Class rdf_class)
rdf_class - An RDF_Class
void addSubClass(IRDF_Class rdf_class,
IRDF_SubClass subclass)
subclass - org.apache.commons.collections.MultiMap getSubProperties()
void setSubProperties(org.apache.commons.collections.MultiMap sub_properies)
sub_properies - A MultiMap with keys RDF_Property objects and values collections of RDF_SubProperty objectsjava.util.Collection getSubProperty(IRDF_Property rdf_property)
rdf_property - An RDF_Property
void addSubProperty(IRDF_Property property,
IRDF_SubProperty subproperty)
subproperty - org.apache.commons.collections.MultiMap getTypes()
void setTypes(org.apache.commons.collections.MultiMap types)
types - A MultiMap with keys RDF_Resource objects and values collections of RDF_Type objectsjava.util.Collection getType(IRDF_Resource rdf_type)
rdf_type - An RDF_Resource
void addType(IRDF_Resource resource,
IRDF_Type type)
type - org.apache.commons.collections.MultiMap getDomains()
void setDomains(org.apache.commons.collections.MultiMap domains)
domains - A MultiMap with keys RDF_Property objects and values collections of RDF_Domains objectsjava.util.Collection getDomains(IRDF_Property rdf_property)
rdf_property - An RDF_Property
void addDomain(IRDF_Property property,
IRDF_Domain domain)
domain - org.apache.commons.collections.MultiMap getRanges()
void setRanges(org.apache.commons.collections.MultiMap ranges)
ranges - A MultiMap with keys IRDF_Property objects and values collections of RDF_Range objectsjava.util.Collection getRange(IRDF_Property rdf_property)
rdf_property - An IRDF_Property
void addRange(IRDF_Property property,
IRDF_Range range)
range - org.apache.commons.collections.MultiMap getComments()
void setComments(org.apache.commons.collections.MultiMap comments)
comments - A MultiMap with keys RDF_Resource objects and values collections of RDF_Comment objectsjava.util.Collection getComment(IRDF_Resource rdf_resource)
rdf_resource - An RDF_Resource
void addComment(IRDF_Resource resource,
IRDF_Comment comment)
comment - org.apache.commons.collections.MultiMap getLabels()
void setLabels(org.apache.commons.collections.MultiMap labels)
labels - A MultiMap with keys RDF_Resource objects and values collections of RDF_Label objectsjava.util.Collection getLabel(IRDF_Resource rdf_resource)
rdf_resource - An RDF_Resource
void addLabel(IRDF_Resource resource,
IRDF_Label label)
label - org.apache.commons.collections.MultiMap getSeeAlsos()
void setSeeAlsos(org.apache.commons.collections.MultiMap see_alsos)
see_alsos - A MultiMap with keys IRDF_Resource objects and values collections of RDF_SeeAlso objectsjava.util.Collection getSeeAlso(IRDF_Resource rdf_resource)
rdf_resource - An IRDF_Resource
void addSeeAlso(IRDF_Resource resource,
IRDF_SeeAlso seealso)
seealso - org.apache.commons.collections.MultiMap getIsDefinedBys()
void setIsDefinedBys(org.apache.commons.collections.MultiMap is_defined_bys)
is_defined_bys - A MultiMap with keys IRDF_Resource objects and values collections of RDF_IsDefinedBy objectsjava.util.Collection getIsDefinedBy(IRDF_Resource rdf_resource)
rdf_resource - An IRDF_Resource
void addIsDefinedBy(IRDF_Resource resource,
IRDF_IsDefinedBy isdefinedby)
isdefinedby - java.util.HashMap<IRDF_Statement,IRDF_Subject> getSubjects()
void setSubjects(java.util.HashMap<IRDF_Statement,IRDF_Subject> subjects)
subjects - A MultiMap with keys RDF_Statement objects and values collections of RDF_Subject objectsIRDF_Subject getSubject(IRDF_Statement rdf_statement)
rdf_statement - An RDF_Statement
void addSubject(IRDF_Statement statement,
IRDF_Subject subject)
subject - java.util.HashMap<IRDF_Statement,IRDF_Object> getObjects()
void setObjects(java.util.HashMap<IRDF_Statement,IRDF_Object> objects)
objects - A MultiMap with keys IRDF_Statement objects and values collections of RDF_Object objectsIRDF_Object getObject(IRDF_Statement rdf_statement)
rdf_statement - An IRDF_Statement
void addObject(IRDF_Statement statement,
IRDF_Object object)
object - java.util.HashMap<IRDF_Statement,IRDF_Predicate> getPredicates()
void setPredicates(java.util.HashMap<IRDF_Statement,IRDF_Predicate> predicates)
statements - A MultiMap with keys IRDF_Statement objects and values collections of RDF_Predicate objectsIRDF_Predicate getPredicate(IRDF_Statement statement)
statement - An IRDF_Statement
void addPredicate(IRDF_Statement statement,
IRDF_Predicate predicate)
predicate - org.apache.commons.collections.MultiMap getMembers()
void setMembers(org.apache.commons.collections.MultiMap members)
members - A MultiMap with keys RDF_Container objects and values collections of RDF_Member objectsjava.util.Collection getMember(IRDF_Container container)
container - An RDF_Container
void addMember(IRDF_Container container,
IRDF_Member member)
member - 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.HashMap<java.lang.String,IRDF_Graphspace> getGraphspaceDependencies()
void setGraphspaceDependencies(java.util.HashMap<java.lang.String,IRDF_Graphspace> dependencies)
dependencies - An HashMapvoid addGraphspaceDependency(IRDF_Graphspace graphspace)
graphspace - An IRDF_Graphspace objectjava.util.Collection toTriples()
IRDF_Model getModel()
java.util.Collection<IRDF_Triple> getTriples()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||