@Test public void checkVersionIsValid_Valid() { String[] values = new String[]{ "1.0.0", "1.1.0", "100.344.88999", "1.0.0-alpha", "1.0.3-SNAPSHOT", "1.0.4-100" }; for (String value : values) { Assert.assertNotNull(value, metadata.checkVersionIsValid(new Version(value, null, null))); } }
protected final Version checkVersionIsValid(EntityMetadata md) { return checkVersionIsValid(md.getEntitySchema().getVersion()); }
AbstractMetadata implements Metadata { protected final Version checkVersionIsValid(EntityMetadata md) { return checkVersionIsValid(md.getEntitySchema().getVersion()); } }
AbstractMetadata implements Metadata { protected final Version checkVersionIsValid(EntityMetadata md) { return checkVersionIsValid(md.getEntitySchema().getVersion()); }  }
AbstractMetadata implements Metadata { protected final Version checkVersionIsValid(EntityMetadata md) { return checkVersionIsValid(md.getEntitySchema().getVersion()); }  @Override Map<MetadataRole, List<String>> getMappedRoles(); void setRoleMap(Map<MetadataRole, List<String>> roleMap); }
AbstractMetadata implements Metadata { protected final Version checkVersionIsValid(EntityMetadata md) { return checkVersionIsValid(md.getEntitySchema().getVersion()); }  @Override Map<MetadataRole, List<String>> getMappedRoles(); void setRoleMap(Map<MetadataRole, List<String>> roleMap); static final String SEMVER_REGEX; }