edu.uga.cs.lsdis.semdisds
Interface IResource

All Superinterfaces:
java.lang.Comparable, IURI
All Known Subinterfaces:
IAlternative, IBag, IBlankNode, IInstanceNode, ILiteralStatement, IResourceStatement, ISchemaClass, ISchemaDatatypeProperty, ISchemaObjectProperty, ISchemaProperty, ISequence, IStatement, ITypeOfStatement, ITypeRange

public interface IResource
extends IURI

Resource encapsulates an RDF resource, having incoming, outgoing edges, as well as literals

Version:
0.1, 0.2: 2005-11-30: Boanerges Aleman-Meza: now it extends IURI, getURI() now returns a String, 0.3: 2006-05-27: Boanerges Aleman-Meza: added method getLiterals( predicate )

Field Summary
 
Fields inherited from interface edu.uga.cs.lsdis.semdisds.IURI
OWL, OWL_CLASS, OWL_DATATYPE_PROPERTY, OWL_OBJECT_PROPERTY, OWL_SAMEAS, RDF, RDF_ALT, RDF_BAG, RDF_OBJECT, RDF_PREDICATE, RDF_PROPERTY, RDF_SEQ, RDF_STATEMENT, RDF_SUBJECT, RDF_TYPE, RDFS, RDFS_CLASS, RDFS_DATATYPE, RDFS_DOMAIN, RDFS_LABEL, RDFS_RANGE, RDFS_RESOURCE, RDFS_SEEALSO, RDFS_SUBCLASSOF, RDFS_SUBPROPERTYOF, XSD, XSD_BOOLEAN, XSD_DATE, XSD_DECIMAL, XSD_INTEGER, XSD_STRING, XSD2, XSD2_BOOLEAN, XSD2_DATE, XSD2_DECIMAL, XSD2_INTEGER, XSD2_STRING
 
Method Summary
 IExtendedIterator<IResourceStatement> getEdges()
          Returns statements that have this resource as subject or object
 IExtendedIterator<IResourceStatement> getIncomingEdges()
          Returns statements that have this resource as object
 IExtendedIterator<IResourceStatement> getIncomingEdges(ISchemaProperty schemaProperty)
          Returns statements that have this resource as object, with a specific predicate
 IExtendedIterator<ILiteralStatement> getLiterals()
          Returns all statements with literals that are connected to this resource
 IExtendedIterator<ILiteralStatement> getLiterals(ISchemaProperty schemaProperty)
          Returns statements with literals that have this resource as subject, with a specific predicate
 IExtendedIterator<IResourceStatement> getOutgoingEdges()
          Returns statements that have this resource as subject
 IExtendedIterator<IResourceStatement> getOutgoingEdges(ISchemaProperty schemaProperty)
          Returns statements that have this resource as subject, with a specific predicate
 java.lang.String getURI()
          
 
Methods inherited from interface edu.uga.cs.lsdis.semdisds.IURI
getAlias, getNamespace, getShortName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getURI

java.lang.String getURI()

Returns:
the full uri

getOutgoingEdges

IExtendedIterator<IResourceStatement> getOutgoingEdges()

Returns statements that have this resource as subject

Returns:
returns IExtendedIterator

getOutgoingEdges

IExtendedIterator<IResourceStatement> getOutgoingEdges(ISchemaProperty schemaProperty)

Returns statements that have this resource as subject, with a specific predicate

A null parameter is interpreted as ANY

Parameters:
schemaProperty - The predicate on which to return statements on
Returns:
returns IExtendedIterator

getIncomingEdges

IExtendedIterator<IResourceStatement> getIncomingEdges()

Returns statements that have this resource as object

Returns:
returns IExtendedIterator

getIncomingEdges

IExtendedIterator<IResourceStatement> getIncomingEdges(ISchemaProperty schemaProperty)

Returns statements that have this resource as object, with a specific predicate

A null parameter is interpreted as ANY

Parameters:
schemaProperty - The predicate on which to return statements on
Returns:
returns IExtendedIterator

getEdges

IExtendedIterator<IResourceStatement> getEdges()

Returns statements that have this resource as subject or object

Returns:
returns IExtendedIterator

getLiterals

IExtendedIterator<ILiteralStatement> getLiterals()

Returns all statements with literals that are connected to this resource

Returns:
returns IExtendedIterator

getLiterals

IExtendedIterator<ILiteralStatement> getLiterals(ISchemaProperty schemaProperty)

Returns statements with literals that have this resource as subject, with a specific predicate

A null parameter is interpreted as ANY

Parameters:
schemaProperty - The predicate on which to return statements on
Returns:
returns IExtendedIterator