Interface IEntityJsonInstanceContext

    • Method Detail

      • getInstanceSource

        Object getInstanceSource()
        Returns:
        An object describing the source of the instance. Will not return null.
      • getInstanceJsonNode

        com.fasterxml.jackson.databind.node.ObjectNode getInstanceJsonNode()
        Returns:
        The instance. Will not return null.
      • withSchema

        IEntityJsonSchemaContext withSchema​(Object schemaSource,
                                            com.fasterxml.jackson.databind.node.ObjectNode schemaJsonNode)
        Add the given instance and return the current object as an IEntityJsonInstanceContext.
        Parameters:
        instanceSource - An object describing the source of the instance, typically an instance of java.net.URL or java.io.File.
        instanceJsonNode - The instance.
        Returns:
        The current object as an IEntityJsonInstanceContext.
        Throws:
        NullPointerException - if either parameter is null.