Class Difference.DiffNode<T>

java.lang.Object
fr.gouv.vitam.common.json.Difference.DiffNode<T>
Enclosing class:
Difference<T>

public static class Difference.DiffNode<T> extends Object
  • Field Details

    • metadataName

      public final String metadataName
    • oldMetadataValue

      public final T oldMetadataValue
    • newMetadataValue

      public final T newMetadataValue
  • Constructor Details

    • DiffNode

      public DiffNode(String metadataName, T oldMetadataValue, T newMetadataValue)
  • Method Details

    • empty

      public static Difference.DiffNode empty()
    • isEmpty

      public boolean isEmpty()
    • isNotEmpty

      public boolean isNotEmpty()
    • getMetadataName

      public String getMetadataName()
    • getOldMetadataValue

      public T getOldMetadataValue()
    • getNewMetadataValue

      public T getNewMetadataValue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object