public class Version extends Object implements Comparable<Version>
| Constructor and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanSnapshot(String version) |
int |
compareTo(Version o) |
static String |
createName(String projectPrefix,
String version) |
Date |
getCreated_on() |
String |
getDescription() |
Date |
getDue_date() |
Integer |
getId() |
String |
getName() |
int[] |
getNumericParts() |
String |
getProjectPrefix() |
String |
getStatus() |
Date |
getUpdated_on() |
static void |
main(String[] args) |
void |
setCreated_on(Date created_on) |
void |
setDescription(String description) |
void |
setDue_date(Date due_date) |
void |
setId(Integer id) |
void |
setName(String name) |
void |
setStatus(String status) |
void |
setUpdated_on(Date updated_on) |
String |
toVersionString() |
public Date getCreated_on()
public void setCreated_on(Date created_on)
created_on - the created_on to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic Integer getId()
public void setId(Integer id)
id - the id to setpublic String getName()
public void setName(String name)
name - the name to setpublic String getStatus()
public void setStatus(String status)
status - the status to setpublic Date getUpdated_on()
public void setUpdated_on(Date updated_on)
updated_on - the updated_on to setpublic Date getDue_date()
public void setDue_date(Date due_date)
due_date - the due_date to setpublic String getProjectPrefix()
public int[] getNumericParts()
public String toVersionString()
public int compareTo(Version o)
compareTo in interface Comparable<Version>public static String createName(String projectPrefix, String version)
projectPrefix - version - public static String cleanSnapshot(String version)
version - public static void main(String[] args)
args - Copyright © 2012 Taimos GmbH. All Rights Reserved.