Class DirectedLink
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.core.process.links.model.DirectedLink
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://www.sodius.com/ns/process/links#") @OslcResourceShape(title="Directed Link Resource Shape", describes="http://www.sodius.com/ns/process/links#DirectedLink") public class DirectedLink extends AbstractResource
Represents a link with a source and a target.- Since:
- 1.7.0
- See Also:
AddLink
,RemoveLink
,ExecuteLinkIndexQuery
-
-
Constructor Summary
Constructors Constructor Description DirectedLink()
DirectedLink(URI propertyDefinition, URI source, Link target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getPropertyDefinition()
URI
getSource()
Link
getTarget()
void
setPropertyDefinition(URI propertyDefinition)
void
setSource(URI source)
void
setTarget(Link target)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getPropertyDefinition
@OslcPropertyDefinition("http://open-services.net/ns/core#propertyDefinition") public URI getPropertyDefinition()
-
setPropertyDefinition
public void setPropertyDefinition(URI propertyDefinition)
-
getSource
@OslcPropertyDefinition("http://www.sodius.com/ns/process/links#source") public URI getSource()
-
setSource
public void setSource(URI source)
-
getTarget
@OslcPropertyDefinition("http://www.sodius.com/ns/process/links#target") public Link getTarget()
-
setTarget
public void setTarget(Link target)
-
-