Package com.ibm.fhir.registry.resource
Class FHIRRegistryResource.Version
- java.lang.Object
 - 
- com.ibm.fhir.registry.resource.FHIRRegistryResource.Version
 
 
- 
- All Implemented Interfaces:
 Comparable<FHIRRegistryResource.Version>
- Enclosing class:
 - FHIRRegistryResource
 
public static class FHIRRegistryResource.Version extends Object implements Comparable<FHIRRegistryResource.Version>
Represents a version that can either be lexical or follow the Semantic Versioning format 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFHIRRegistryResource.Version.CompareMode 
- 
Field Summary
Fields Modifier and Type Field Description static FHIRRegistryResource.VersionNO_VERSION 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FHIRRegistryResource.Version version)booleanequals(Object obj)static FHIRRegistryResource.Versionfrom(String version)inthashCode()intmajor()intminor()intpatch()StringtoString() 
 - 
 
- 
- 
Field Detail
- 
NO_VERSION
public static final FHIRRegistryResource.Version NO_VERSION
 
 - 
 
- 
Method Detail
- 
major
public int major()
 
- 
minor
public int minor()
 
- 
patch
public int patch()
 
- 
from
public static FHIRRegistryResource.Version from(String version)
 
- 
compareTo
public int compareTo(FHIRRegistryResource.Version version)
- Specified by:
 compareToin interfaceComparable<FHIRRegistryResource.Version>
 
 - 
 
 -