It is desirable to keep track of the versions of the used resources. The PR adds Versioned interface that is implemented by resource objects/containers. The version is just a simple string and it is optional:
public interface Versioned {
/**
* @return {@link Optional} version {@link String} or an empty {@link Optional} if the version is not available.
*/
Optional<String> version();
}
For start, Versioned is implemented by MinimalOntology and HpoDiseases.
It is desirable to keep track of the versions of the used resources. The PR adds
Versioned
interface that is implemented by resource objects/containers. The version is just a simple string and it is optional:For start,
Versioned
is implemented byMinimalOntology
andHpoDiseases
.