Package fr.gouv.vitam.metadata.api.model

# Class UpdateUnit

java.lang.Object
fr.gouv.vitam.metadata.api.model.UpdateUnit

public class UpdateUnit extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `DIFF`
  `static final String`
  `ID`
  `static final String`
  `KEY`
  `static final String`
  `MESSAGE`
  `static final String`
  `STATUS`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UpdateUnit(String unitId, StatusCode status, UpdateUnitKey key, String message, String diff)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDiff()`
  `UpdateUnitKey`
  `getKey()`
  `String`
  `getMessage()`
  `StatusCode`
  `getStatus()`
  `String`
  `getUnitId()`

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

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

- ## Field Details

  - ### ID

    public static final String ID
    See Also:
      - Constant Field Values

  - ### STATUS

    public static final String STATUS
    See Also:
      - Constant Field Values

  - ### KEY

    public static final String KEY
    See Also:
      - Constant Field Values

  - ### MESSAGE

    public static final String MESSAGE
    See Also:
      - Constant Field Values

  - ### DIFF

    public static final String DIFF
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### UpdateUnit

    public UpdateUnit(String unitId, StatusCode status, UpdateUnitKey key, String message, String diff)

- ## Method Details

  - ### getUnitId

    public String getUnitId()

  - ### getStatus

    public StatusCode getStatus()

  - ### getKey

    public UpdateUnitKey getKey()

  - ### getMessage

    public String getMessage()

  - ### getDiff

    public String getDiff()