Interface ReferenceTransformationAgent


public interface ReferenceTransformationAgent
Agent providing means to transform reference holding containers to their persistency form and vice versa.
Since:
4.2.414
  • Field Details

  • Method Details

    • read

      @NotNull @NotNull ReferenceHolder read(@NotNull @NotNull Node node, Language language, boolean release)
      Read an element referencing container from a persistency node.
      Parameters:
      node - The node containing information on the referenced element.
      language - The language to read the node for.
      release - An indicator on whether the reference is released.
      Returns:
      A container referencing the according element.
      Since:
      4.2.414
    • write

      @NotNull @NotNull Node write(@NotNull @NotNull String tag, @NotNull @NotNull ReferenceHolder holder)
      Write an element referencing container to a persistency node.
      Parameters:
      tag - The tag name to be used for the node.
      holder - The element referencing container to gather information from.
      Returns:
      A persistency node containing the relevant information.
      Since:
      4.2.414