return new MetadataVersion(-1);
}
protected Version nextVersion(Version version) {
if (Version.NEW == version) {
return new MetadataVersion(0);
}
if (Version.ANY == version) {
return Version.ANY;
}
assertTrue(version instanceof MetadataVersion);
return new MetadataVersion(((MetadataVersion) version).incrementVersion());
}