info.sswap.impl.empire.model
Class PDGImpl

java.lang.Object
  extended by info.sswap.impl.empire.model.ModelImpl
      extended by info.sswap.impl.empire.model.SourceModelImpl
          extended by info.sswap.impl.empire.model.PDGImpl
All Implemented Interfaces:
com.clarkparsia.empire.SupportsRdfId, PDG, SSWAPDocument, SSWAPModel, SourceModel

public abstract class PDGImpl
extends SourceModelImpl
implements PDG

Implementation of PDG. This abstract class has a few abstract methods with Empire annotations, and the implementation of these abstract methods will be automatically generated by Empire.

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  ProviderImpl provider
           
 
Fields inherited from class info.sswap.impl.empire.model.SourceModelImpl
SSWAP_ONTOLOGY_URI
 
Constructor Summary
PDGImpl()
           
 
Method Summary
 SSWAPProvider createProvider(java.net.URI providerURI)
          Creates a new SSWAPProvider in this PDG
 SSWAPProvider getProvider()
          Gets the provider described in this PDG.
 java.util.Collection<RDG> getRDGs()
          Gets all RDGs pointed to by a sswap:providesResource statement in this PDG
 
Methods inherited from class info.sswap.impl.empire.model.SourceModelImpl
addDependentModel, addImport, checkProfile, createAnonymousDatatype, createAnonymousRestrictionType, createAnonymousType, createCopyObject, createIndividual, createIndividual, createIntersectionOf, createList, createLiteral, createTypedLiteral, createUnionOf, dereference, dereference, dereference, doClosure, equals, getClosedWorldModel, getClosureModel, getDatatype, getDependentModel, getDependentModel, getDependentModels, getEntityManager, getImports, getInferredABox, getInferredTBox, getIntersectionType, getMaxClosureBytes, getMaxClosureThreads, getMaxClosureTime, getModel, getModelResolver, getNsPrefixMap, getPredicate, getReasoningService, getType, hashCode, hasJenaModel, isClosureEnabled, isOwlDlRequired, isValueValidationEnabled, newIndividual, newIndividual, persist, refresh, removeDependentModel, removeImport, removeNsPrefix, resetReasoningService, serialize, serialize, setClosureEnabled, setClosureModel, setEntityManager, setMaxClosureBytes, setMaxClosureThreads, setMaxClosureTime, setModel, setNsPrefix, setOwlDlRequired, setValueValidationEnabled, validate, validate
 
Methods inherited from class info.sswap.impl.empire.model.ModelImpl
assertModel, assertSourceModel, getAllDependentObjects, getDependentObject, getDocument, getExpressivity, getInputStream, getSourceModel, getTypeSignature, getURI, hasSourceModel, hasSourceModelWithEntityManager, isDereferenced, rdfIdEquals, rdfIdHashCode, refreshSiblings, setDereferenced, setSourceModel, setURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.sswap.api.model.SSWAPDocument
createAnonymousDatatype, createAnonymousType, createIndividual, createIndividual, createIntersectionOf, createList, createLiteral, createTypedLiteral, createUnionOf, getDatatype, getPredicate, getType, newIndividual, newIndividual
 
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
 
Methods inherited from interface info.sswap.impl.empire.model.SourceModel
isDereferenced
 
Methods inherited from interface com.clarkparsia.empire.SupportsRdfId
getRdfId, setRdfId
 

Field Detail

provider

private ProviderImpl provider
Constructor Detail

PDGImpl

public PDGImpl()
Method Detail

getProvider

public SSWAPProvider getProvider()
Description copied from interface: PDG
Gets the provider described in this PDG.

Specified by:
getProvider in interface PDG
Returns:
SSWAPProvider object (dereferenced, since the main purpose of the PDG is to describe that provider).

createProvider

public SSWAPProvider createProvider(java.net.URI providerURI)
Description copied from interface: PDG
Creates a new SSWAPProvider in this PDG

Specified by:
createProvider in interface PDG
Parameters:
providerURI - the URI of the provider (which should be the same as the URI of the PDG)
Returns:
the newly created provider

getRDGs

public java.util.Collection<RDG> getRDGs()
                                  throws DataAccessException
Description copied from interface: PDG
Gets all RDGs pointed to by a sswap:providesResource statement in this PDG

Specified by:
getRDGs in interface PDG
Returns:
a collection of RDGs
Throws:
DataAccessException - if an error should occur while accesing the RDG data


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