org.apache.tuscany.sca.node
Class SCAContribution

java.lang.Object
  extended by org.apache.tuscany.sca.node.SCAContribution

public final class SCAContribution
extends java.lang.Object

Represents an SCA contribution uri + location.


Constructor Summary
SCAContribution(java.lang.String uri, java.lang.String location)
          Constructs a new SCA contribution.
 
Method Summary
 java.lang.String getLocation()
          The location of the contribution
 java.lang.String getURI()
          Get the URI of the contribution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCAContribution

public SCAContribution(java.lang.String uri,
                       java.lang.String location)
Constructs a new SCA contribution.

Parameters:
uri - The URI that uniquely identifies the contribution in the SCA domain
location - The URL of the contribution archive
Method Detail

getURI

public java.lang.String getURI()
Get the URI of the contribution

Returns:
The URI that uniquely identifies the contribution in the SCA domain

getLocation

public java.lang.String getLocation()
The location of the contribution

Returns:
The URL of the contribution archive