|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSWAPProvider
Describes a provider in SSWAP. The data about providers is available in a
PDG
. Usually, a service provider such as an institution or a web site
will host a single provider URI and multiple services, each service
represented by its own RDG
.
PDG
Method Summary | |
---|---|
void |
addProvidesResource(SSWAPResource resource)
Adds a resource that is provided by this provider to the list. |
java.net.URI |
getAboutURI()
Gets the URI pointing to a human-readable description of this provider. |
java.net.URI |
getMetadata()
Gets the URI containing the machine-readable metadata for this provider. |
java.lang.String |
getName()
Gets the name of the provider. |
java.lang.String |
getOneLineDescription()
Gets one line description of the provider. |
PDG |
getPDG()
Gets the PDG that defines this provider |
java.util.Collection<SSWAPResource> |
getProvidesResources()
Gets the information about all the resources provided by this provider. |
void |
setAboutURI(java.net.URI aboutURI)
Sets the URI pointing to a human-readable description of this provider. |
void |
setMetadata(java.net.URI metadata)
Sets the URI pointing to the machine-readable metadata for this provider. |
void |
setName(java.lang.String name)
Sets the name of the provider. |
void |
setOneLineDescription(java.lang.String oneLineDescription)
Sets one line description of the provider. |
void |
setProvidesResource(java.util.Collection<SSWAPResource> resources)
Sets the information about all the resources provided by this provider. |
Methods inherited from interface info.sswap.api.model.SSWAPNode |
---|
asSSWAPGraph, asSSWAPObject, asSSWAPProvider, asSSWAPResource, asSSWAPSubject, getID, isSSWAPGraph, isSSWAPObject, isSSWAPProvider, isSSWAPResource, isSSWAPSubject |
Methods inherited from interface info.sswap.api.model.SSWAPIndividual |
---|
addProperty, addProperty, addProperty, addProperty, addType, clearProperty, getDeclaredType, getDeclaredTypes, getInferredIndividual, getProperties, getProperties, getProperty, getType, getTypes, hasValue, hasValue, isAnonymous, isCompatibleWith, isOfType, removeProperty, removeProperty, removeType, setProperty, setProperty, setProperty, setProperty |
Methods inherited from interface info.sswap.api.model.SSWAPElement |
---|
addComment, addLabel, asBoolean, asDouble, asIndividual, asInteger, asList, asLiteral, asString, getComment, getLabel, isIndividual, 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 |
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- the name of the provider (must not be null).java.lang.String getOneLineDescription()
void setOneLineDescription(java.lang.String oneLineDescription)
oneLineDescription
- the new one line description of the provider, or null if the current description is to be removed.java.net.URI getAboutURI()
void setAboutURI(java.net.URI aboutURI)
aboutURI
- URI pointing to a human-readable description of this provider, or null if there is no such description
for the provider.java.net.URI getMetadata()
void setMetadata(java.net.URI metadata)
metadata
- URI pointing to a machine-readable metadata for this provider, or null if there is no metadata for
this provider.void addProvidesResource(SSWAPResource resource)
resource
- a SSWAPResource that is provided by this provider. (The object may not be dereferenced, since the only
information stored in a PDG about the provided resource is the resource's URI).void setProvidesResource(java.util.Collection<SSWAPResource> resources)
resources
- a set of SSWAPResource that are provided by this provider. (The objects may not be dereferenced, since
the only information stored in a PDG about the provided resource is the resource's URI).java.util.Collection<SSWAPResource> getProvidesResources()
PDG getPDG()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |