|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.document.ProductInformation.Artifact
public static class ProductInformation.Artifact
This class describes a single artifact.
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getArtifactID()
Return the artifact's artifact-ID. |
Date |
getBuildTimestamp()
Return the build timestamp for this artifact. |
String |
getCompositeID()
Return the artifact's composite ID of the form group-ID:artifact-ID . |
String |
getGroupID()
Return the artifact's group-ID. |
String |
getVersion()
Return the version string. |
int |
getVersionPart(int i)
Return the i'th part of the version string (if it exists and can be expressed as a number) or zero. |
int |
hashCode()
|
boolean |
isSnapshot()
Return whether this is a snapshot artifact. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getArtifactID()
public String getGroupID()
public String getCompositeID()
group-ID:artifact-ID
.
public String getVersion()
public int getVersionPart(int i)
i
- the index
public boolean isSnapshot()
true
for snapshot artifactspublic Date getBuildTimestamp()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |