|
||||||||||
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
.
Constructor Summary | |
---|---|
Version()
|
Method Summary | |
---|---|
String |
getId()
Get a unique identifier for a version. |
String |
getName()
Get the external version number under which this release was distributed. |
String |
getTag()
Get the name given in the SCM (e.g. |
void |
setId(String id)
Set a unique identifier for a version. |
void |
setName(String name)
Set the external version number under which this release was distributed. |
void |
setTag(String tag)
Set the name given in the SCM (e.g. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Version()
Method Detail |
---|
public String getId()
public String getName()
1.0
,
1.1-alpha1
,
1.2-beta
,
1.3.2
etc.
public String getTag()
public void setId(String id)
id
- public void setName(String name)
1.0
,
1.1-alpha1
,
1.2-beta
,
1.3.2
etc.
name
- public void setTag(String tag)
tag
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |