Class ServiceProvider
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.ServiceProvider
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/core#")
@OslcResourceShape(title="OSLC Service Provider Resource Shape",
describes="http://open-services.net/ns/core#ServiceProvider")
public class ServiceProvider
extends AbstractResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addService
(Service srvc) final Date
URI[]
final String
Service[]
getTitle()
final void
setCreated
(Date created) void
setDescription
(String description) void
setDetails
(URI[] details) final void
setIdentifier
(String identifier) void
setOauthConfiguration
(OAuthConfiguration oauthConfiguration) void
setPrefixDefinitions
(PrefixDefinition[] prefixDefinitions) void
setPublisher
(Publisher publisher) void
setServices
(Service[] services) void
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ServiceProvider
public ServiceProvider()
-
-
Method Details
-
addService
-
getCreated
@OslcDescription("The date and time that this resource was created") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle("Created") public final Date getCreated() -
getDescription
@OslcDescription("Description of the service provider") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcReadOnly @OslcTitle("Description") @OslcValueType(XMLLiteral) public String getDescription() -
getDetails
@OslcDescription("URLs that may be used to retrieve web pages to determine additional details about the service provider") @OslcPropertyDefinition("http://open-services.net/ns/core#details") @OslcReadOnly @OslcTitle("Details") public URI[] getDetails() -
getIdentifier
@OslcDescription("A unique identifier for this resource") @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle("Identifier") public final String getIdentifier() -
getOauthConfiguration
@OslcDescription("Defines the three OAuth URIs required for a client to act as an OAuth consumer") @OslcPropertyDefinition("http://open-services.net/ns/core#oauthConfiguration") @OslcRange("http://open-services.net/ns/core#OAuthConfiguration") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("OAuth Configuration") @OslcValueShape("resourceShapes/oauthConfiguration") @OslcValueType(LocalResource) public OAuthConfiguration getOauthConfiguration() -
getPrefixDefinitions
@OslcDescription("Defines namespace prefixes for use in JSON representations and in forming OSLC Query Syntax strings") @OslcName("prefixDefinition") @OslcPropertyDefinition("http://open-services.net/ns/core#prefixDefinition") @OslcRange("http://open-services.net/ns/core#PrefixDefinition") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Prefix Definitions") @OslcValueShape("resourceShapes/prefixDefinition") @OslcValueType(LocalResource) public PrefixDefinition[] getPrefixDefinitions() -
getPublisher
@OslcDescription("Describes the software product that provides the implementation") @OslcPropertyDefinition("http://purl.org/dc/terms/publisher") @OslcRange("http://open-services.net/ns/core#Publisher") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Publisher") @OslcValueShape("resourceShapes/publisher") @OslcValueType(LocalResource) public Publisher getPublisher() -
getServices
@OslcDescription("Describes services offered by the service provider") @OslcName("service") @OslcOccurs(OneOrMany) @OslcPropertyDefinition("http://open-services.net/ns/core#service") @OslcRange("http://open-services.net/ns/core#Service") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Services") @OslcValueShape("resourceShapes/service") @OslcValueType(LocalResource) public Service[] getServices() -
getTitle
@OslcDescription("Title of the service provider") @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcReadOnly @OslcTitle("Title") @OslcValueType(XMLLiteral) public String getTitle() -
setCreated
-
setDescription
-
setDetails
-
setIdentifier
-
setOauthConfiguration
-
setPrefixDefinitions
-
setPublisher
-
setServices
-
setTitle
-