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>
A link to a resource that is only valid in the context of a given
Deliverable.- Since:
- 1.8.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeliverableLink(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
Modifier and TypeMethodDescriptionvoidaddDeliverable(URI deliverable) Adds a deliverable URI for this instance.booleanURI[]Gets the deliverable URIs of this instance.inthashCode()voidsetDeliverables(URI[] deliverables) Sets the deliverable URIs of this instance.Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractReifiedResource
getValue, setValue
-
Constructor Details
-
DeliverableLink
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
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.
-
DeliverableLink
Constructs an instance specifying the resource URI and label.- Parameters:
resource- the resource URI.label- the resource label.- Since:
- 3.6.2
-
-
Method Details
-
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
Sets the deliverable URIs of this instance.- Parameters:
deliverables- the deliverable URIs of this instance.- Since:
- 3.6.2
-
addDeliverable
Adds a deliverable URI for this instance.- Parameters:
deliverable- the URI deliverable for this instance.- Since:
- 3.6.2
-
hashCode
public int hashCode() -
equals
-