info.sswap.impl.empire.model
Class NonEmpireIndividual

java.lang.Object
  extended by info.sswap.impl.empire.model.ModelImpl
      extended by info.sswap.impl.empire.model.ElementImpl
          extended by info.sswap.impl.empire.model.IndividualImpl
              extended by info.sswap.impl.empire.model.NonEmpireIndividual
All Implemented Interfaces:
com.clarkparsia.empire.SupportsRdfId, SSWAPElement, SSWAPIndividual, SSWAPModel

public class NonEmpireIndividual
extends IndividualImpl

An concrete implementation of SSWAPIndividual that is not a SSWAPNode and is not Empire-managed.

Author:
Blazej Bulka

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.clarkparsia.empire.SupportsRdfId
com.clarkparsia.empire.SupportsRdfId.BNodeKey, com.clarkparsia.empire.SupportsRdfId.RdfKey<T>, com.clarkparsia.empire.SupportsRdfId.URIKey
 
Field Summary
private  com.clarkparsia.empire.SupportsRdfId.URIKey uriKey
          The URI key containing the URI of the individual
 
Constructor Summary
NonEmpireIndividual(java.net.URI uri)
           
 
Method Summary
 com.clarkparsia.empire.SupportsRdfId.RdfKey getRdfId()
          Gets the identifier of the individual
 void setRdfId(com.clarkparsia.empire.SupportsRdfId.RdfKey newURI)
          A setter for the RDF Identifier of this individual.
 
Methods inherited from class info.sswap.impl.empire.model.IndividualImpl
addComment, addIgnoredProperty, addIgnoredType, addLabel, addProperty, addProperty, addProperty, addProperty, addProperty, addType, asIndividual, assertType, clearProperty, clearProperty, closeWorld, equals, getDeclaredType, getDeclaredTypes, getIgnoredProperties, getIgnoredTypes, getInferredIndividual, getProperties, getProperties, getProperty, getType, getTypes, hashCode, hasValue, hasValue, isCompatibleWith, isIndividual, isOfType, persist, refresh, removeProperty, removeProperty, removeType, setDefaultParameterValues, setProperty, setProperty, setProperty, setProperty, setProperty, setSourceModel
 
Methods inherited from class info.sswap.impl.empire.model.ElementImpl
asBoolean, asDouble, asInteger, asList, asLiteral, asString, getComment, getJenaResource, getLabel, isAnonymous, isList, isLiteral
 
Methods inherited from class info.sswap.impl.empire.model.ModelImpl
addImport, assertModel, assertSourceModel, checkProfile, dereference, dereference, doClosure, getAllDependentObjects, getDependentObject, getDocument, getExpressivity, getImports, getInputStream, getNsPrefixMap, getReasoningService, getSourceModel, getTypeSignature, getURI, hasSourceModel, hasSourceModelWithEntityManager, isDereferenced, rdfIdEquals, rdfIdHashCode, refreshSiblings, removeImport, removeNsPrefix, serialize, serialize, setDereferenced, setNsPrefix, setURI, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.sswap.api.model.SSWAPIndividual
isAnonymous
 
Methods inherited from interface info.sswap.api.model.SSWAPElement
asBoolean, asDouble, asInteger, asList, asLiteral, asString, getComment, getLabel, isList, isLiteral
 
Methods inherited from interface info.sswap.api.model.SSWAPModel
addImport, checkProfile, dereference, dereference, doClosure, getDocument, getImports, getInputStream, getNsPrefixMap, getReasoningService, getTypeSignature, getURI, isDereferenced, removeImport, removeNsPrefix, serialize, serialize, setNsPrefix, validate
 

Field Detail

uriKey

private com.clarkparsia.empire.SupportsRdfId.URIKey uriKey
The URI key containing the URI of the individual

Constructor Detail

NonEmpireIndividual

public NonEmpireIndividual(java.net.URI uri)
Method Detail

getRdfId

public com.clarkparsia.empire.SupportsRdfId.RdfKey getRdfId()
Gets the identifier of the individual

Returns:
the identifier of the individual

setRdfId

public void setRdfId(com.clarkparsia.empire.SupportsRdfId.RdfKey newURI)
A setter for the RDF Identifier of this individual. Since the objects of this type have their identifiers set in the constructor, and it is not allowed to set the identifier for the second time, this method always throws IllegalStateException

Parameters:
newURI - the new URI
Throws:
java.lang.IllegalStateException - always


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.