org.jmythapi.database
Class DatabaseVersionRange
java.lang.Object
org.jmythapi.impl.AVersionRange<DatabaseVersion>
org.jmythapi.database.DatabaseVersionRange
public class DatabaseVersionRange
- extends AVersionRange<DatabaseVersion>
Method Summary |
boolean |
isInRange(int dbVersion)
Checks if the specified protocol-version is in this version-range. |
DEFAULT_RANGE
public static final DatabaseVersionRange DEFAULT_RANGE
DatabaseVersionRange
public DatabaseVersionRange(MythDatabaseVersionAnnotation versionRange)
DatabaseVersionRange
public DatabaseVersionRange(DatabaseVersion from,
DatabaseVersion to)
isInRange
public boolean isInRange(int dbVersion)
- Description copied from class:
AVersionRange
- Checks if the specified protocol-version is in this version-range.
- Specified by:
isInRange
in class AVersionRange<DatabaseVersion>
- Parameters:
dbVersion
- the protocol-version to check
- Returns:
true
if the given version is in the range.
Copyright © 2008-2013. All Rights Reserved.