org.exolab.jms.tools.migration.proxy
Class VersionInfo

java.lang.Object
  |
  +--org.exolab.jms.tools.migration.proxy.VersionInfo

public class VersionInfo
extends java.lang.Object

Migration version information.

Version:
$Revision: 1.1 $ $Date: 2005/10/20 14:07:03 $
Author:
Tim Anderson

Constructor Summary
VersionInfo(PropertyStore properties)
          Construct a new VersionInfo.
 
Method Summary
 long getCreationTimestamp()
          Returns the timestamp when the proxy database was created.
 java.lang.String getOpenJMSVersion()
          Returns the OpenJMS version that the proxy database was created with.
 java.lang.String getProxySchemaVersion()
          Returns the proxy schema version.
 void setCreationTimestamp(long timestamp)
          Sets the timestamp when the proxy database was created.
 void setOpenJMSVersion(java.lang.String version)
          Sets the OpenJMS version that the proxy database was created with.
 void setProxySchemaVersion(java.lang.String version)
          Sets the proxy schema version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionInfo

public VersionInfo(PropertyStore properties)
Construct a new VersionInfo.
Parameters:
properties - the property store to access
Method Detail

setOpenJMSVersion

public void setOpenJMSVersion(java.lang.String version)
                       throws org.exolab.jms.persistence.PersistenceException
Sets the OpenJMS version that the proxy database was created with.
Parameters:
version - the version
Throws:
org.exolab.jms.persistence.PersistenceException - for any persistence error

getOpenJMSVersion

public java.lang.String getOpenJMSVersion()
                                   throws org.exolab.jms.persistence.PersistenceException
Returns the OpenJMS version that the proxy database was created with.
Returns:
the OpenJMS version
Throws:
org.exolab.jms.persistence.PersistenceException - for any persistence error

setProxySchemaVersion

public void setProxySchemaVersion(java.lang.String version)
                           throws org.exolab.jms.persistence.PersistenceException
Sets the proxy schema version.
Parameters:
version - the version
Throws:
org.exolab.jms.persistence.PersistenceException - for any persistence error

getProxySchemaVersion

public java.lang.String getProxySchemaVersion()
                                       throws org.exolab.jms.persistence.PersistenceException
Returns the proxy schema version.
Returns:
the proxy schema version.
Throws:
org.exolab.jms.persistence.PersistenceException - for any persistence error

setCreationTimestamp

public void setCreationTimestamp(long timestamp)
                          throws org.exolab.jms.persistence.PersistenceException
Sets the timestamp when the proxy database was created.
Parameters:
timestamp - the timestamp, in milliseconds
Throws:
org.exolab.jms.persistence.PersistenceException - for any persistence error

getCreationTimestamp

public long getCreationTimestamp()
                          throws org.exolab.jms.persistence.PersistenceException
Returns the timestamp when the proxy database was created.
Returns:
the proxy database creation timestamp
Throws:
org.exolab.jms.persistence.PersistenceException - for any persistence error


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.