org.apache.tuscany.sca.contribution
Interface Artifact

All Known Subinterfaces:
Contribution, DeployedArtifact

public interface Artifact

Base Artifact interface to accomodate common properties between Contribution and Deployed Artifact

Version:
$Rev$ $Date$

Method Summary
 java.lang.String getLocation()
          Get the URL location for the artifact
 java.lang.String getURI()
          Get the URI that unique identifies the artifact
 void setLocation(java.lang.String location)
          Set the URL location for the artifact
 void setURI(java.lang.String uri)
          Set the URI that unique identifies the artifact
 

Method Detail

getURI

java.lang.String getURI()
Get the URI that unique identifies the artifact

Returns:
The artifact uri

setURI

void setURI(java.lang.String uri)
Set the URI that unique identifies the artifact

Parameters:
uri - The artifact uri

getLocation

java.lang.String getLocation()
Get the URL location for the artifact

Returns:
The artifact location

setLocation

void setLocation(java.lang.String location)
Set the URL location for the artifact

Parameters:
location - The artifact location