Class MetadataStorageHelper


  • public class MetadataStorageHelper
    extends java.lang.Object
    Helper class for metadata documentation storage.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.fasterxml.jackson.databind.JsonNode getGotWithLFC​(com.fasterxml.jackson.databind.JsonNode document, com.fasterxml.jackson.databind.JsonNode lfc)
      Create a jsonNode with the got document and its lfc
      static com.fasterxml.jackson.databind.JsonNode getUnitFromUnitWithLFC​(com.fasterxml.jackson.databind.JsonNode document)
      Retrieve the unit from the unit + lfc object
      static com.fasterxml.jackson.databind.JsonNode getUnitWithLFC​(com.fasterxml.jackson.databind.JsonNode document, com.fasterxml.jackson.databind.JsonNode lfc)
      Create a jsonNode with the unit document and its lfc
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetadataStorageHelper

        public MetadataStorageHelper()
    • Method Detail

      • getUnitWithLFC

        public static com.fasterxml.jackson.databind.JsonNode getUnitWithLFC​(com.fasterxml.jackson.databind.JsonNode document,
                                                                             com.fasterxml.jackson.databind.JsonNode lfc)
        Create a jsonNode with the unit document and its lfc
        Parameters:
        document - the unit node
        lfc - the lfc node
        Returns:
        a new JsonNode with document and lfc inside
      • getUnitFromUnitWithLFC

        public static com.fasterxml.jackson.databind.JsonNode getUnitFromUnitWithLFC​(com.fasterxml.jackson.databind.JsonNode document)
        Retrieve the unit from the unit + lfc object
        Parameters:
        document - the unit + lfc node
        Returns:
        the JsonNode of the unit inside the documuent
      • getGotWithLFC

        public static com.fasterxml.jackson.databind.JsonNode getGotWithLFC​(com.fasterxml.jackson.databind.JsonNode document,
                                                                            com.fasterxml.jackson.databind.JsonNode lfc)
        Create a jsonNode with the got document and its lfc
        Parameters:
        document - the unit node
        lfc - the lfc node
        Returns:
        a new JsonNode with document and lfc inside