com.alee.managers.version
Class VersionInfo

java.lang.Object
  extended by com.alee.managers.version.VersionInfo
All Implemented Interfaces:
java.io.Serializable

public class VersionInfo
extends java.lang.Object
implements java.io.Serializable

Web Look and Feel library version information class.

See Also:
Serialized Form

Constructor Summary
VersionInfo()
          Constructs empty version information class.
 
Method Summary
 int compareTo(VersionInfo version)
          Returns a negative integer, zero, or a positive integer as version is less than, equal to, or greater than the specified one.
 int getBuild()
          Returns build number.
 java.lang.String getComment()
          Returns short version description.
 long getDate()
          Returns version release date.
 java.lang.String getName()
          Returns full library name.
 java.lang.String getType()
          Returns build type.
 int getVersion()
          Returns library version.
 void setBuild(int build)
          Sets build number.
 void setComment(java.lang.String comment)
          Sets short version description.
 void setDate(long date)
          Sets version release date.
 void setName(java.lang.String name)
          Sets full library name.
 void setType(java.lang.String type)
          Sets build type.
 void setVersion(int version)
          Sets library version.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionInfo

public VersionInfo()
Constructs empty version information class.

Method Detail

getName

public java.lang.String getName()
Returns full library name.

Returns:
full library name

setName

public void setName(java.lang.String name)
Sets full library name.

Parameters:
name - full library name

getVersion

public int getVersion()
Returns library version.

Returns:
library version

setVersion

public void setVersion(int version)
Sets library version.

Parameters:
version - library version

getBuild

public int getBuild()
Returns build number.

Returns:
build number

setBuild

public void setBuild(int build)
Sets build number.

Parameters:
build - build number

getType

public java.lang.String getType()
Returns build type.

Returns:
build type

setType

public void setType(java.lang.String type)
Sets build type.

Parameters:
type - build type

getDate

public long getDate()
Returns version release date.

Returns:
version release date

setDate

public void setDate(long date)
Sets version release date.

Parameters:
date - version release date

getComment

public java.lang.String getComment()
Returns short version description.

Returns:
short version description

setComment

public void setComment(java.lang.String comment)
Sets short version description.

Parameters:
comment - short version description

compareTo

public int compareTo(VersionInfo version)
Returns a negative integer, zero, or a positive integer as version is less than, equal to, or greater than the specified one.

Parameters:
version - version to compare with
Returns:
a negative integer, zero, or a positive integer as version is less than, equal to, or greater than the specified one

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object