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 aServiceProvider
property and itslinkingResource
property is of typeLink
. The reason for the former is to enforce theServiceProvider
resolution based on the linking resource (seeGetLinkingServiceProvider
) and not from the associated projects areas... whereas for the latter is because theLink
represents the actual linking resource and not the dropped/pasted text by the user.- Since:
- 3.7.0
-
-
Constructor Summary
Constructors Constructor Description LinkingContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Link
getConfiguration()
Link
getLinkingResource()
URI
getLinkingType()
void
setConfiguration(Link configuration)
void
setLinkingResource(Link linkingResource)
void
setLinkingType(URI linkingType)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getLinkingResource
@OslcPropertyDefinition("http://www.sodius.com/ns/process#linkingResource") @OslcValueType(Resource) public Link getLinkingResource()
-
setLinkingResource
public void setLinkingResource(Link linkingResource)
-
getLinkingType
@OslcPropertyDefinition("http://www.sodius.com/ns/process#linkingType") @OslcValueType(Resource) public URI getLinkingType()
-
setLinkingType
public void setLinkingType(URI linkingType)
-
getConfiguration
@OslcPropertyDefinition("http://open-services.net/ns/config#configuration") @OslcValueType(Resource) public Link getConfiguration()
-
setConfiguration
public void setConfiguration(Link configuration)
-
-