BEA Systems, Inc.

com.compoze.collab.test.framework.exchange
Class ExchangeVersion


java.lang.Object

  |

  +--com.compoze.collab.test.framework.exchange.ExchangeVersion

All Implemented Interfaces:
java.lang.Comparable

public class ExchangeVersion
extends java.lang.Object
implements java.lang.Comparable

Class that provides an enumation for the version of Exchange.


Field Summary
static ExchangeVersion EXCHANGE_2000
          The value for Exchange 2000 ("2000").
static ExchangeVersion EXCHANGE_2003
          The value for Exchange 2003 ("2003").
static ExchangeVersion EXCHANGE_55
          The value for Exchange 5.5 ("5.5").
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
static ExchangeVersion get(java.lang.String s)
          Gets the version from a version string.
 java.lang.String getString()
          Gets the string associated with the version.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EXCHANGE_55


public static final ExchangeVersion EXCHANGE_55
The value for Exchange 5.5 ("5.5").

EXCHANGE_2000


public static final ExchangeVersion EXCHANGE_2000
The value for Exchange 2000 ("2000").

EXCHANGE_2003


public static final ExchangeVersion EXCHANGE_2003
The value for Exchange 2003 ("2003").
Method Detail

get


public static ExchangeVersion get(java.lang.String s)
Gets the version from a version string.
Parameters:
s - the version string
Returns:
the Exchange version (not null)

getString


public java.lang.String getString()
Gets the string associated with the version.
Returns:
the string (not null)

compareTo


public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

equals


public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode


public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString


public java.lang.String toString()
Overrides:
toString in class java.lang.Object

BEA Systems, Inc.

Copyright ©1999-2006 BEA Systems, Inc. All rights reserved.