info.sswap.api.model
Interface PDG

All Superinterfaces:
SSWAPDocument, SSWAPModel

public interface PDG
extends SSWAPDocument

A Provider Description Graph (PDG) describes a SSWAP semantic web service Provider. SSWAPProviders host one or more SSWAP services, each described by its own Resource Description Graph ( RDG). Usually, an individual, institution, or web site has only a single PDG, accessible to any one on the web by dereferencing the URI of the SSWAPProvider.

For more on the protocol, see SSWAP Protocol.

Author:
Blazej Bulka , Damian Gessler
See Also:
RDG, RIG, RRG, RQG, SSWAPProvider, SSWAPResource

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 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
 

Method Detail

getProvider

SSWAPProvider getProvider()
Gets the provider described in this PDG.

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

createProvider

SSWAPProvider createProvider(java.net.URI providerURI)
Creates a new SSWAPProvider in this 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

java.util.Collection<RDG> getRDGs()
                                  throws DataAccessException
Gets all RDGs pointed to by a sswap:providesResource statement in this 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.