org.lexevs.dao.index.version
Class LexEvsIndexFormatVersion

java.lang.Object
  extended by org.lexevs.dao.index.version.LexEvsIndexFormatVersion

public class LexEvsIndexFormatVersion
extends java.lang.Object

The Class LexEvsIndexFormatVersion.

Author:
Kevin Peterson

Constructor Summary
LexEvsIndexFormatVersion()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getModelFormatVersion()
          Gets the model format version.
 boolean isEqualVersion(LexEvsIndexFormatVersion otherVersion)
          Checks if is equal version.
static LexEvsIndexFormatVersion parseStringToVersion(java.lang.String version)
          Parses the string to version.
 void setModelFormatVersion(java.lang.String modelFormatVersion)
          Sets the model format version.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LexEvsIndexFormatVersion

public LexEvsIndexFormatVersion()
Method Detail

parseStringToVersion

public static LexEvsIndexFormatVersion parseStringToVersion(java.lang.String version)
Parses the string to version. Assumes a String formatted as "'major-version'.'minor-version'".

Parameters:
version - the version
Returns:
the database version

isEqualVersion

public boolean isEqualVersion(LexEvsIndexFormatVersion otherVersion)
Checks if is equal version.

Parameters:
otherVersion - the other version
Returns:
true, if is equal version

equals

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

toString

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

getModelFormatVersion

public java.lang.String getModelFormatVersion()
Gets the model format version.

Returns:
the model format version

setModelFormatVersion

public void setModelFormatVersion(java.lang.String modelFormatVersion)
Sets the model format version.

Parameters:
modelFormatVersion - the new model format version

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.