public class Version extends Object implements Serializable
version
element
.Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
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() |
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
Object.toString()
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.