Class LinkingContext
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.server.process.links.model.LinkingContext
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/process#")
@OslcResourceShape(title="Linking Resource Shape",
describes="http://www.sodius.com/ns/process#LinkingContext")
public class LinkingContext
extends AbstractResource
Encapsulates the linking-related data (linking type, linking resource and in-used global configuration if any).
Unlike LinkingScreeningContext, this class does not have a ServiceProvider property and its linkingResource property is of
type Link. The reason for the former is to enforce the ServiceProvider resolution based on the linking resource
(see GetLinkingServiceProvider) and not from the associated projects areas... whereas for the latter is because the Link represents
the actual linking resource and not the dropped/pasted text by the user.
- Since:
- 3.7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetConfiguration(Link configuration) voidsetLinkingResource(Link linkingResource) voidsetLinkingType(URI linkingType) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
LinkingContext
public LinkingContext()
-
-
Method Details
-
getLinkingResource
@OslcPropertyDefinition("http://www.sodius.com/ns/process#linkingResource") @OslcValueType(Resource) public Link getLinkingResource() -
setLinkingResource
-
getLinkingType
@OslcPropertyDefinition("http://www.sodius.com/ns/process#linkingType") @OslcValueType(Resource) public URI getLinkingType() -
setLinkingType
-
getConfiguration
@OslcPropertyDefinition("http://open-services.net/ns/config#configuration") @OslcValueType(Resource) public Link getConfiguration() -
setConfiguration
-