|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Artifact
Represents an artifact in an SCA contribution.
| Method Summary | |
|---|---|
byte[] |
getContents()
Returns the contents of the artifact cached here. |
java.lang.String |
getLocation()
Returns the location of the artifact. |
java.lang.Object |
getModel()
Returns the in-memory model representing the artifact. |
java.lang.String |
getURI()
Returns the URI that unique identifies the artifact inside the contribution. |
void |
setContents(byte[] contents)
Sets the contents of the artifact. |
void |
setLocation(java.lang.String location)
Set the location of the artifact. |
void |
setModel(java.lang.Object model)
Sets the in-memory model representing the artifact. |
void |
setURI(java.lang.String uri)
Sets the URI that uniquely identifies the artifact inside the contribution. |
| Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
|---|
isUnresolved, setUnresolved |
| Method Detail |
|---|
java.lang.String getURI()
void setURI(java.lang.String uri)
uri - The artifact URIjava.lang.String getLocation()
void setLocation(java.lang.String location)
location - The artifact locationjava.lang.Object getModel()
void setModel(java.lang.Object model)
model - The model objectbyte[] getContents()
void setContents(byte[] contents)
contents - the contents of the artifact
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||