org.openanzo.jastor
Interface GraphThing

All Superinterfaces:
CoreThing
All Known Subinterfaces:
_Property, _Property, _Resource, _Resource, _Statement, _Thing, ACL, Agent, Alt, Alt, AnnotationProperty, AntisymmetricProperty, AnzoServer, AskResult, Bag, Bag, BinaryContent, Category, Class, Class, Class, Collection, Command, Constant, Container, Container, ContainerMembershipProperty, ContainerMembershipProperty, Content, Content, DataRange, DataRestriction, Dataset, Datatype, Datatype, DatatypeProperty, DeletedEntry, Document, Entry, Entry, Feed, FeedOrEntry, FunctionalDataPropety, FunctionalObjectProperty, FunctionalProperty, FunctionalPropety, Generator, Group, HTML, Image, Individual, InformationResource, IntrospectionGraph, InverseFunctionalProperty, IrreflexiveProperty, Link, List, List, Literal, Literal, NamedGraph, Nothing, ObjectProperty, ObjectProperty, ObjectRestriction, OnlineAccount, OnlineChatAccount, OnlineEcommerceAccount, OnlineGamingAccount, Ontology, Organization, OWLEntity, Person, Person, PersonalProfileDocument, PlainText, Precondition, Project, PurgedEntry, Query, RDFContent, ReflexiveProperty, RelationType, Representation, Restriction, Result, Role, SelectorTracker, Seq, Seq, SymmetricProperty, TextContent, TextContent, Tracker, TransitiveProperty, TypedContent, User, Version, XHTML, XML, XMLLiteral
All Known Implementing Classes:
_PropertyImpl, _PropertyImpl, _ResourceImpl, _ResourceImpl, _StatementImpl, _ThingImpl, ACLImpl, AgentImpl, AltImpl, AltImpl, AnnotationPropertyImpl, AntisymmetricPropertyImpl, AnzoServerImpl, AskResultImpl, BagImpl, BagImpl, BinaryContentImpl, CategoryImpl, ClassImpl, ClassImpl, ClassImpl, CollectionImpl, CommandImpl, ConstantImpl, ContainerImpl, ContainerImpl, ContainerMembershipPropertyImpl, ContainerMembershipPropertyImpl, ContentImpl, ContentImpl, DataRangeImpl, DataRestrictionImpl, DatasetImpl, DatatypeImpl, DatatypeImpl, DatatypePropertyImpl, DeletedEntryImpl, DocumentImpl, EntryImpl, EntryImpl, FeedImpl, FeedOrEntryImpl, FunctionalDataPropetyImpl, FunctionalObjectPropertyImpl, FunctionalPropertyImpl, FunctionalPropetyImpl, GeneratorImpl, GraphThingImpl, GroupImpl, HTMLImpl, ImageImpl, IndividualImpl, InformationResourceImpl, IntrospectionGraphImpl, InverseFunctionalPropertyImpl, IrreflexivePropertyImpl, LinkImpl, ListImpl, ListImpl, LiteralImpl, LiteralImpl, NamedGraphImpl, NothingImpl, ObjectPropertyImpl, ObjectPropertyImpl, ObjectRestrictionImpl, OnlineAccountImpl, OnlineChatAccountImpl, OnlineEcommerceAccountImpl, OnlineGamingAccountImpl, OntologyImpl, OrganizationImpl, OWLEntityImpl, PersonalProfileDocumentImpl, PersonImpl, PersonImpl, PlainTextImpl, PreconditionImpl, ProjectImpl, PurgedEntryImpl, QueryImpl, RDFContentImpl, ReflexivePropertyImpl, RelationTypeImpl, RepresentationImpl, RestrictionImpl, ResultImpl, RoleImpl, SelectorTrackerImpl, SeqImpl, SeqImpl, SymmetricPropertyImpl, TextContentImpl, TextContentImpl, TrackerImpl, TransitivePropertyImpl, TypedContentImpl, UserImpl, VersionImpl, XHTMLImpl, XMLImpl, XMLLiteralImpl

public interface GraphThing
extends CoreThing

Thing is the base ontology class of all other ontology classes for classes that reside within an INamedGraph.

Author:
Joe Betz, Ben Szekely (bhszekel@us.ibm.com)

Field Summary
 
Fields inherited from interface org.openanzo.jastor.CoreThing
TYPE
 
Method Summary
 info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Statement> getProperties()
          Retrieve set of statements containing all properties for THING's resource
 org.openrdf.model.Value getPropertyValue(java.lang.String property)
          Retrieve single DatasetProperty for the given property
 org.openrdf.model.Value getPropertyValue(org.openrdf.model.URI property)
          Retrieve single DatasetProperty for the given property
 INamedGraph graph()
          Get the INamedGraph where this THING resides
 void setPropertyValue(java.lang.String property, org.openrdf.model.Value value)
          Set the property value for THING
 void setPropertyValue(org.openrdf.model.URI property, org.openrdf.model.Value value)
          Set the property value for THING
 
Methods inherited from interface org.openanzo.jastor.CoreThing
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri
 

Method Detail

graph

INamedGraph graph()
Get the INamedGraph where this THING resides

Returns:
INamedGraph where this THING resides

getPropertyValue

org.openrdf.model.Value getPropertyValue(org.openrdf.model.URI property)
Retrieve single DatasetProperty for the given property

Parameters:
property - property containing DatasetProperty
Returns:
single DatasetProperty for the given property

getPropertyValue

org.openrdf.model.Value getPropertyValue(java.lang.String property)
Retrieve single DatasetProperty for the given property

Parameters:
property - property containing DatasetProperty
Returns:
single DatasetProperty for the given property

getProperties

info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Statement> getProperties()
Retrieve set of statements containing all properties for THING's resource

Returns:
set of statements containing all properties for THING's resource

setPropertyValue

void setPropertyValue(org.openrdf.model.URI property,
                      org.openrdf.model.Value value)
Set the property value for THING

Parameters:
property - URI of property to set
value - Value of property to set

setPropertyValue

void setPropertyValue(java.lang.String property,
                      org.openrdf.model.Value value)
Set the property value for THING

Parameters:
property - String representation of URI of property to set
value - Value of property to set


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.