Package fr.gouv.vitam.common.json

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `final String`
  `metadataName`
  `final T`
  `newMetadataValue`
  `final T`
  `oldMetadataValue`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DiffNode(String metadataName, T oldMetadataValue, T newMetadataValue)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Difference.DiffNode`
  `empty()`
  `boolean`
  `equals(Object o)`
  `String`
  `getMetadataName()`
  `T`
  `getNewMetadataValue()`
  `T`
  `getOldMetadataValue()`
  `int`
  `hashCode()`
  `boolean`
  `isEmpty()`
  `boolean`
  `isNotEmpty()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## 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`