|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.model.AbstractVersionedKey
public class AbstractVersionedKey
AbstractVersionedKey - a versioned reference to a Project.
This refers to all artifacts of a specific version of a project.
This type of reference is typically used by ArchivaProjectModel objects.
If you require things like "Version" or "Type", consider the other keys below.
| Key Type | Group ID | Artifact ID | Version | Classifier | Type |
|---|---|---|---|---|---|
AbstractProjectKey |
Yes | Yes | |||
AbstractVersionedKey |
Yes | Yes | Yes | ||
AbstractArtifactKey |
Yes | Yes | Yes | Yes | Yes |
NOTE: This is a jpox required compound key handler class.
| Field Summary | |
|---|---|
java.lang.String |
artifactId
The Artifact ID. |
java.lang.String |
groupId
The Group ID. |
java.lang.String |
version
The Version. |
| Constructor Summary | |
|---|---|
AbstractVersionedKey()
Default Constructor. |
|
AbstractVersionedKey(java.lang.String key)
Key Based Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Get the equals for this object's values - Required by JPOX. |
int |
hashCode()
Get the hashcode for this object's values - Required by JPOX. |
java.lang.String |
toString()
Get the String representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String groupId
public java.lang.String artifactId
public java.lang.String version
| Constructor Detail |
|---|
public AbstractVersionedKey()
public AbstractVersionedKey(java.lang.String key)
key - the String representing this object's values.| Method Detail |
|---|
public java.lang.String toString()
toString in interface CompoundKeytoString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||