|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.atom.archive.SrampArchiveEntry
public class SrampArchiveEntry
Models a single entry in an S-RAMP archive. Each entry in a valid
S-RAMP archive must include an artifact file (e.g. artifact.wsdl) and an
associated Atom Entry file (e.g. artifact.wsdl.atom). These two files
make up a single entry in the archive (the content and the meta-data for
an S-RAMP artifact).
Note that the Atom entry file is a full artifact Entry, so this class
automatically wraps and unwraps the BaseArtifactType from the
Atom entry. In other words, this model represents a single archive
entry as the content and a BaseArtifactType.
| Constructor Summary | |
|---|---|
SrampArchiveEntry()
Constructor. |
|
SrampArchiveEntry(String path,
File metaDataFile,
File contentFile)
Constructor. |
|
| Method Summary | |
|---|---|
BaseArtifactType |
getMetaData()
|
String |
getPath()
|
boolean |
hasContent()
Returns true if this entry has content. |
void |
setMetaData(BaseArtifactType metaData)
|
void |
setPath(String path)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SrampArchiveEntry()
public SrampArchiveEntry(String path,
File metaDataFile,
File contentFile)
path - metaDataFile - contentFile - | Method Detail |
|---|
public String getPath()
public void setPath(String path)
path - the path to setpublic BaseArtifactType getMetaData()
public void setMetaData(BaseArtifactType metaData)
metaData - the artifact meta data to setpublic boolean hasContent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||