|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.archiva.model.ArtifactReference
public class ArtifactReference
Class ArtifactReference.
Field Summary | |
---|---|
private String |
artifactId
The Artifact ID of the repository content. |
private String |
classifier
The classifier for this artifact. |
private String |
groupId
The Group ID of the repository content. |
private static long |
serialVersionUID
|
private String |
type
The type of artifact. |
private String |
version
The version of the repository content. |
Constructor Summary | |
---|---|
ArtifactReference()
|
Method Summary | |
---|---|
private static String |
defaultString(String value)
|
boolean |
equals(Object obj)
|
String |
getArtifactId()
Get the Artifact ID of the repository content. |
String |
getClassifier()
Get the classifier for this artifact. |
String |
getGroupId()
Get the Group ID of the repository content. |
String |
getType()
Get the type of artifact. |
String |
getVersion()
Get the version of the repository content. |
int |
hashCode()
|
void |
setArtifactId(String artifactId)
Set the Artifact ID of the repository content. |
void |
setClassifier(String classifier)
Set the classifier for this artifact. |
void |
setGroupId(String groupId)
Set the Group ID of the repository content. |
void |
setType(String type)
Set the type of artifact. |
void |
setVersion(String version)
Set the version of the repository content. |
static String |
toKey(ArtifactReference artifactReference)
|
static String |
toVersionlessKey(ArtifactReference artifactReference)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String groupId
private String artifactId
private String version
private String classifier
private String type
private static final long serialVersionUID
Constructor Detail |
---|
public ArtifactReference()
Method Detail |
---|
public String getArtifactId()
public String getClassifier()
public String getGroupId()
public String getType()
public String getVersion()
public void setArtifactId(String artifactId)
artifactId
- public void setClassifier(String classifier)
classifier
- public void setGroupId(String groupId)
groupId
- public void setType(String type)
type
- public void setVersion(String version)
version
- private static String defaultString(String value)
public static String toKey(ArtifactReference artifactReference)
public static String toVersionlessKey(ArtifactReference artifactReference)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |