|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.model.v3_0_0.Version
public class Version
This element describes each of the previous versions of
the
project. Each version is described by a
version
element
.
| Field Summary | |
|---|---|
private java.lang.String |
id
A unique identifier for a version. |
private java.lang.String |
name
The external version number under which this release was distributed. |
private java.lang.String |
tag
The name given in the SCM (e.g. |
| Constructor Summary | |
|---|---|
Version()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Get a unique identifier for a version. |
java.lang.String |
getName()
Get the external version number under which this release was distributed. |
java.lang.String |
getTag()
Get the name given in the SCM (e.g. |
void |
setId(java.lang.String id)
Set a unique identifier for a version. |
void |
setName(java.lang.String name)
Set the external version number under which this release was distributed. |
void |
setTag(java.lang.String tag)
Set the name given in the SCM (e.g. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String name
1.0,
1.1-alpha1,
1.2-beta,
1.3.2 etc.
private java.lang.String tag
private java.lang.String id
| Constructor Detail |
|---|
public Version()
| Method Detail |
|---|
public java.lang.String getId()
public java.lang.String getName()
1.0,
1.1-alpha1,
1.2-beta,
1.3.2 etc.
public java.lang.String getTag()
public void setId(java.lang.String id)
id - public void setName(java.lang.String name)
1.0,
1.1-alpha1,
1.2-beta,
1.3.2 etc.
name - public void setTag(java.lang.String tag)
tag - public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||