org.openanzo.atom.jastor.atomowl
Class RelationTypeImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.atom.jastor.atomowl.RelationTypeImpl
All Implemented Interfaces:
RelationType, ObjectProperty, CoreThing, GraphThing

public class RelationTypeImpl
extends GraphThingImpl
implements RelationType

Implementation of RelationType Use the org.openanzo.atom.jastor.atomowl.Factory to create instances of this class.

(URI: http://bblfish.net/work/atom-owl/2006-06-06/#RelationType)



Field Summary
 
Fields inherited from interface org.openanzo.atom.jastor.atomowl.RelationType
alternate, anchor, collection, edit, editmedia, enclosure, first, history, introspection, last, next, previous, related, self, TYPE, via
 
Fields inherited from interface org.openanzo.atom.jastor.owl.ObjectProperty
accountServiceHomepage, aggregates, contains, currentProject, depiction, depicts, domain, email, entry, fundedBy, generator, givenname, holdsAccount, homepage, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_author, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_category, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_content, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_contributor, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_link, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_logo, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_subject, http_58__SLASH__SLASH_bblfish_DOT_net_SLASH_work_SLASH_atom_DASH_owl_SLASH_2006_DASH_06_DASH_06_SLASH__POUND_title, http_58__SLASH__SLASH_boca_DOT_adtech_DOT_ibm_DOT_com_SLASH_schemas_SLASH_queso_POUND_author, http_58__SLASH__SLASH_boca_DOT_adtech_DOT_ibm_DOT_com_SLASH_schemas_SLASH_queso_POUND_category, http_58__SLASH__SLASH_boca_DOT_adtech_DOT_ibm_DOT_com_SLASH_schemas_SLASH_queso_POUND_content, http_58__SLASH__SLASH_boca_DOT_adtech_DOT_ibm_DOT_com_SLASH_schemas_SLASH_queso_POUND_contributor, http_58__SLASH__SLASH_boca_DOT_adtech_DOT_ibm_DOT_com_SLASH_schemas_SLASH_queso_POUND_link, http_58__SLASH__SLASH_boca_DOT_adtech_DOT_ibm_DOT_com_SLASH_schemas_SLASH_queso_POUND_member, http_58__SLASH__SLASH_www_DOT_w3_DOT_org_SLASH_1999_SLASH_02_SLASH_22_DASH_rdf_DASH_syntax_DASH_ns_POUND_subject, http_58__SLASH__SLASH_www_DOT_w3_DOT_org_SLASH_2000_SLASH_01_SLASH_rdf_DASH_schema_POUND_member, http_58__SLASH__SLASH_xmlns_DOT_com_SLASH_foaf_SLASH_0_DOT_1_SLASH_logo, http_58__SLASH__SLASH_xmlns_DOT_com_SLASH_foaf_SLASH_0_DOT_1_SLASH_member, http_58__SLASH__SLASH_xmlns_DOT_com_SLASH_foaf_SLASH_0_DOT_1_SLASH_title, icon, img, instrospectionCollection, interest, isDefinedBy, knows, made, maker, mbox, membershipClass, nick, object, page, pastProject, phone, predicate, primaryTopic, publications, range, rel, representation, representationOf, rest, rights, scheme, schoolHomepage, seeAlso, sha1, source, src, subClassOf, subPropertyOf, subtitle, summary, theme, thumbnail, tipjar, to, topic, topic__interest, type, update, value, version, weblog, workInfoHomepage, workplaceHomepage
 
Method Summary
 GraphThing addEmail()
          Adds an anonymous value for the 'email' property
 void addEmail(GraphThing email)
          Adds a value for the 'email' property
 GraphThing addEmail(org.openrdf.model.Resource resource)
          Adds a value for the 'email' property.
 Content getContent()
          Gets the 'content' property value
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
          Get an Iterator the 'email' property values.
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 void removeEmail(GraphThing email)
          Removes a value for the 'email' property.
 Content setContent()
          Sets the 'content' property value to an anonymous node
 void setContent(Content content)
          Sets the 'content' property value
 Content setContent(org.openrdf.model.Resource resource)
          Sets the 'content' property value to the given resource, and add's rdf:type properties.
 
Methods inherited from class org.openanzo.jastor.GraphThingImpl
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, registerListener, removeStatements, resource, setPropertyValue, setPropertyValue, toString, unregisterListener, uri
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openanzo.jastor.GraphThing
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue
 
Methods inherited from interface org.openanzo.jastor.CoreThing
clearCache, isRDFType, registerListener, removeStatements, resource, unregisterListener, uri
 

Method Detail

listStatements

public java.util.Collection<org.openrdf.model.Statement> listStatements()
Description copied from interface: CoreThing
Get set of statements that makeup this THINGS's properties and types

Specified by:
listStatements in interface CoreThing
Overrides:
listStatements in class GraphThingImpl
Returns:
set of statements that makeup this THINGS's properties and types

getEmail

public info.aduna.collections.iterators.CloseableIterator<GraphThing> getEmail()
                                                                        throws JastorException
Description copied from interface: RelationType
Get an Iterator the 'email' property values. This Iteartor may be used to remove all such values.

Specified by:
getEmail in interface RelationType
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
RelationType.emailProperty

addEmail

public void addEmail(GraphThing email)
              throws JastorException
Description copied from interface: RelationType
Adds a value for the 'email' property

Specified by:
addEmail in interface RelationType
Throws:
JastorException
See Also:
RelationType.emailProperty

addEmail

public GraphThing addEmail()
                    throws JastorException
Description copied from interface: RelationType
Adds an anonymous value for the 'email' property

Specified by:
addEmail in interface RelationType
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
RelationType.emailProperty

addEmail

public GraphThing addEmail(org.openrdf.model.Resource resource)
                    throws JastorException
Description copied from interface: RelationType
Adds a value for the 'email' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addEmail(org.openanzo.jastor.GraphThing email) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addEmail in interface RelationType
Throws:
JastorException
See Also:
RelationType.emailProperty

removeEmail

public void removeEmail(GraphThing email)
                 throws JastorException
Description copied from interface: RelationType
Removes a value for the 'email' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeEmail in interface RelationType
Throws:
JastorException
See Also:
RelationType.emailProperty

getContent

public Content getContent()
                   throws JastorException
Description copied from interface: RelationType
Gets the 'content' property value

Specified by:
getContent in interface RelationType
Returns:
Content
Throws:
JastorException
See Also:
RelationType.contentProperty

setContent

public void setContent(Content content)
                throws JastorException
Description copied from interface: RelationType
Sets the 'content' property value

Specified by:
setContent in interface RelationType
Throws:
JastorException
See Also:
RelationType.contentProperty

setContent

public Content setContent()
                   throws JastorException
Description copied from interface: RelationType
Sets the 'content' property value to an anonymous node

Specified by:
setContent in interface RelationType
Returns:
Content, the created value
Throws:
JastorException
See Also:
RelationType.contentProperty

setContent

public Content setContent(org.openrdf.model.Resource resource)
                   throws JastorException
Description copied from interface: RelationType
Sets the 'content' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Content with the factory. and calling setContent(org.openanzo.atom.jastor.atomowl.Content content) The resource argument have rdf:type http://bblfish.net/work/atom-owl/2006-06-06/#Content. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
setContent in interface RelationType
Returns:
Content, the newly created value
Throws:
JastorException
See Also:
RelationType.contentProperty


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