Class DeliverableLink
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource<URI>
-
- org.eclipse.lyo.oslc4j.core.model.Link
-
- com.sodius.oslc.app.jazz.ccm.model.DeliverableLink
-
- All Implemented Interfaces:
IReifiedResource<URI>
public class DeliverableLink extends Link
A link to a resource that is only valid in the context of a givenDeliverable
.- Since:
- 1.8.0
-
-
Constructor Summary
Constructors Constructor Description DeliverableLink(URI resource, String label)
Constructs an instance specifying the resource URI and label.DeliverableLink(URI resource, String label, URI deliverable)
Constructs an instance specifying the resource URI and label plus a deliverable URI.DeliverableLink(URI resource, String label, Collection<URI> deliverables)
Constructs an instance specifying the resource URI and label plus deliverable URIs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeliverable(URI deliverable)
Adds a deliverable URI for this instance.boolean
equals(Object obj)
URI[]
getDeliverables()
Gets the deliverable URIs of this instance.int
hashCode()
void
setDeliverables(URI[] deliverables)
Sets the deliverable URIs of this instance.-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource
getValue, setValue
-
-
-
-
Constructor Detail
-
DeliverableLink
public DeliverableLink(URI resource, String label, Collection<URI> deliverables)
Constructs an instance specifying the resource URI and label plus deliverable URIs.- Parameters:
resource
- the resource URI.label
- the resource label.deliverables
- deliverable URIs.- Since:
- 3.6.2
-
DeliverableLink
public DeliverableLink(URI resource, String label, URI deliverable)
Constructs an instance specifying the resource URI and label plus a deliverable URI.- Parameters:
resource
- the resource URI.label
- the resource label.deliverable
- the deliverable URI.
-
-
Method Detail
-
getDeliverables
@OslcName("deliverable") @OslcPropertyDefinition("http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/deliverable") @OslcRange("http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/Deliverable") public URI[] getDeliverables()
Gets the deliverable URIs of this instance.- Returns:
- the deliverable URIs of this instance.
- Since:
- 3.6.2
-
setDeliverables
public void setDeliverables(URI[] deliverables)
Sets the deliverable URIs of this instance.- Parameters:
deliverables
- the deliverable URIs of this instance.- Since:
- 3.6.2
-
addDeliverable
public void addDeliverable(URI deliverable)
Adds a deliverable URI for this instance.- Parameters:
deliverable
- the URI deliverable for this instance.- Since:
- 3.6.2
-
-