org.overlord.sramp.ui.shared.beans
Class Version

java.lang.Object
  extended by org.overlord.sramp.ui.shared.beans.Version
All Implemented Interfaces:
Serializable

public class Version
extends Object
implements Serializable

The current version of the application.

Author:
eric.wittmann@redhat.com
See Also:
Serialized Form

Constructor Summary
Version()
          Public constructor (needed for serialization).
 
Method Summary
static Version getCurrentVersion()
          Gets the current version information for s-ramp-ui.
 Date getDate()
           
 String getVersion()
           
 void setDate(Date date)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Version

public Version()
Public constructor (needed for serialization).

Method Detail

getCurrentVersion

public static final Version getCurrentVersion()
Gets the current version information for s-ramp-ui.


getVersion

public String getVersion()
Returns:
the version

setVersion

public void setVersion(String version)
Parameters:
version - the version to set

getDate

public Date getDate()
Returns:
the date

setDate

public void setDate(Date date)
Parameters:
date - the date to set


Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.