Class 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 given Deliverable.
    Since:
    1.8.0
    • 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.
      • DeliverableLink

        public DeliverableLink​(URI resource,
                               String label)
        Constructs an instance specifying the resource URI and label.
        Parameters:
        resource - the resource URI.
        label - the resource label.
        Since:
        3.6.2
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Link
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Link