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

java.lang.Objectorg.apache.maven.archiva.model.AbstractProjectKey
public class AbstractProjectKey
AbstractProjectKey - A versionless reference to a Project.
This refers to all versions, and all artifacts of a project.
This type of reference is typically used by ArchivaRepositoryMetadata 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. |
| Constructor Summary | |
|---|---|
AbstractProjectKey()
Default Constructor. |
|
AbstractProjectKey(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
| Constructor Detail |
|---|
public AbstractProjectKey()
public AbstractProjectKey(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 | ||||||||