Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.bugbase.model
Class Version  view Version download Version.java

java.lang.Object
  extended byopenfuture.bugbase.model.Version
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class Version
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

Version.java Created: Tue Apr 25 20:51:24 2000

Version:
$Revision: 1.3 $

Field Summary
private  VersionLabel label
           
private  java.util.Date lastchange
           
 
Constructor Summary
Version(java.lang.String label, java.util.Date lastchange)
           
Version(VersionLabel label, java.util.Date lastchange)
           
 
Method Summary
 int compareTo(java.lang.Object other)
          Compares this with another object (total ordering).
 VersionLabel getLabel()
          Get the value of label.
 java.util.Date getLastchange()
          Get the value of lastchange.
 void setLabel(VersionLabel v)
          Set the value of label.
 void setLastchange(java.util.Date v)
          Set the value of lastchange.
 java.lang.String toString()
          Returns the String representation of the version label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

private VersionLabel label

lastchange

private java.util.Date lastchange
Constructor Detail

Version

public Version(java.lang.String label,
               java.util.Date lastchange)

Version

public Version(VersionLabel label,
               java.util.Date lastchange)
Method Detail

getLabel

public VersionLabel getLabel()
Get the value of label.


setLabel

public void setLabel(VersionLabel v)
Set the value of label.


getLastchange

public java.util.Date getLastchange()
Get the value of lastchange.


setLastchange

public void setLastchange(java.util.Date v)
Set the value of lastchange.


compareTo

public int compareTo(java.lang.Object other)
              throws java.lang.IllegalArgumentException
Compares this with another object (total ordering).

Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Returns the String representation of the version label.