Class Service
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.Service
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/core#")
@OslcResourceShape(title="OSLC Service Resource Shape",
describes="http://open-services.net/ns/core#Service")
public class Service
extends AbstractResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCreationDialog
(Dialog dialog) void
addCreationFactory
(CreationFactory creationFactory) void
addQueryCapability
(QueryCapability queryCapability) void
addSelectionDialog
(Dialog dialog) Dialog[]
Dialog[]
URI[]
void
setCreationDialogs
(Dialog[] creationDialogs) void
setCreationFactories
(CreationFactory[] creationFactories) void
void
setQueryCapabilities
(QueryCapability[] queryCapabilities) void
setSelectionDialogs
(Dialog[] selectionDialogs) void
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Service
public Service() -
Service
-
-
Method Details
-
addCreationDialog
-
addCreationFactory
-
addQueryCapability
-
addSelectionDialog
-
getCreationDialogs
@OslcDescription("Enables clients to create a resource via UI") @OslcName("creationDialog") @OslcPropertyDefinition("http://open-services.net/ns/core#creationDialog") @OslcRange("http://open-services.net/ns/core#Dialog") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Creation Dialogs") @OslcValueShape("resourceShapes/dialog") @OslcValueType(LocalResource) public Dialog[] getCreationDialogs() -
getCreationFactories
@OslcDescription("Enables clients to create new resources") @OslcName("creationFactory") @OslcPropertyDefinition("http://open-services.net/ns/core#creationFactory") @OslcRange("http://open-services.net/ns/core#CreationFactory") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Creation Factories") @OslcValueShape("resourceShapes/creationFactory") @OslcValueType(LocalResource) public CreationFactory[] getCreationFactories() -
getDomain
@OslcDescription("Namespace URI of the OSLC domain specification that is implemented by this service") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://open-services.net/ns/core#domain") @OslcReadOnly @OslcTitle("Domain") public URI getDomain() -
getQueryCapabilities
@OslcDescription("Enables clients query across a collection of resources") @OslcName("queryCapability") @OslcPropertyDefinition("http://open-services.net/ns/core#queryCapability") @OslcRange("http://open-services.net/ns/core#QueryCapability") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Query Capabilities") @OslcValueShape("resourceShapes/queryCapability") @OslcValueType(LocalResource) public QueryCapability[] getQueryCapabilities() -
getSelectionDialogs
@OslcDescription("Enables clients to select a resource via UI") @OslcName("selectionDialog") @OslcPropertyDefinition("http://open-services.net/ns/core#selectionDialog") @OslcRange("http://open-services.net/ns/core#Dialog") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Selection Dialogs") @OslcValueShape("resourceShapes/dialog") @OslcValueType(LocalResource) public Dialog[] getSelectionDialogs() -
getUsages
@OslcDescription("An identifier URI for the domain specified usage of this service") @OslcName("usage") @OslcPropertyDefinition("http://open-services.net/ns/core#usage") @OslcReadOnly @OslcRepresentation(Reference) @OslcTitle("Usages") @OslcValueType(Resource) @OslcOccurs(ZeroOrMany) public URI[] getUsages() -
setCreationDialogs
-
setCreationFactories
-
setDomain
-
setQueryCapabilities
-
setSelectionDialogs
-
setUsages
-