Class Schema

    • Method Detail

      • fromJson

        public static Schema fromJson​(String json,
                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a Schema object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        Schema object represented by the provided JSON
      • fromJson

        public static Schema fromJson​(InputStream json,
                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Schema object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Schema object represented by the provided JSON
      • getId

        public final String getId()
      • getUrl

        public final URI getUrl()
      • getLatestVersionDateCreated

        public final ZonedDateTime getLatestVersionDateCreated()
      • getLatestVersion

        public final Integer getLatestVersion()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object