public class Extension
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
artifactId
The artifact ID of the extension.
|
private java.lang.String |
groupId
The group ID of the extension's artifact.
|
private java.lang.String |
version
The version of the extension.
|
Constructor and Description |
---|
Extension() |
Modifier and Type | Method and Description |
---|---|
private static <T> boolean |
equal(T obj1,
T obj2) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getArtifactId()
Get the artifact ID of the extension.
|
java.lang.String |
getGroupId()
Get the group ID of the extension's artifact.
|
java.lang.String |
getKey()
Gets the key of the extension.
|
java.lang.String |
getVersion()
Get the version of the extension.
|
int |
hashCode() |
void |
setArtifactId(java.lang.String artifactId)
Set the artifact ID of the extension.
|
void |
setGroupId(java.lang.String groupId)
Set the group ID of the extension's artifact.
|
void |
setVersion(java.lang.String version)
Set the version of the extension.
|
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
public java.lang.String getArtifactId()
public java.lang.String getGroupId()
public java.lang.String getVersion()
public void setArtifactId(java.lang.String artifactId)
artifactId
- public void setGroupId(java.lang.String groupId)
groupId
- public void setVersion(java.lang.String version)
version
- public java.lang.String getKey()
groupId:artifactId
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
private static <T> boolean equal(T obj1, T obj2)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()