org.figure8.join.businessobjects.commons
Class Release
java.lang.Object
org.figure8.join.core.EntityObject
org.figure8.join.core.SortableEntityObject
org.figure8.join.businessobjects.commons.Release
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class Release
- extends SortableEntityObject
This is an entity representing a release of the software project
that is using Join for its integration phases management.
A release is defined using a name (that should be unique), a major
and a minor release number (ex: "2.0"); it should also have a
shipping date.
- Version:
- $Revision: 1.3 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Constructor Summary |
Release()
Creates a new instance of Release |
Release(java.lang.String name,
int major,
int minor,
java.util.Date shippingDate)
Creates a new instance of Release with mandatory fields. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Release
public Release()
- Creates a new instance of Release
Release
public Release(java.lang.String name,
int major,
int minor,
java.util.Date shippingDate)
- Creates a new instance of Release with mandatory fields.
- Parameters:
name
- This release name (must be unique)major
- Major version numberminor
- Minor version numbershippingDate
- Release shipping date
getName
public java.lang.String getName()
- Returns:
- This release name
setName
public void setName(java.lang.String name)
- Parameters:
name
- This release name
getMajor
public int getMajor()
- Returns:
- This release major number
setMajor
public void setMajor(int major)
- Parameters:
major
- This release major number
getMinor
public int getMinor()
- Returns:
- This release minor number
setMinor
public void setMinor(int minor)
- Parameters:
minor
- This release minor number
getShippingDate
public java.util.Date getShippingDate()
- Returns:
- This release shipping date
setShippingDate
public void setShippingDate(java.util.Date ship)
- Parameters:
ship
- This release shipping date
getStringForComparison
public java.lang.String getStringForComparison()
- Get the comparision criterion as a string. Major + minor numbers here.
- Specified by:
getStringForComparison
in class SortableEntityObject
- Returns:
- The string representation of comparison and sort cirterion
Copyright © 2005-2008 Join. All Rights Reserved.