Package fr.gouv.vitam.worker.common.utils

# Class DataObjectValidator

java.lang.Object
fr.gouv.vitam.worker.common.utils.DataObjectValidator

public class DataObjectValidator extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `DATA_OBJECT_VERSION_NOT_ALLOWED_MESSAGE`
  `static final String`
  `DATA_OBJECT_VERSION_NOT_DEFINED_MESSAGE`
  `static final Pattern`
  `DATA_OBJECT_VERSION_PATTERN`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataObjectValidator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `validateVersionDataObject(String versionDataObject)`

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

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

- ## Field Details

  - ### DATA_OBJECT_VERSION_PATTERN

    public static final Pattern DATA_OBJECT_VERSION_PATTERN

  - ### DATA_OBJECT_VERSION_NOT_DEFINED_MESSAGE

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

  - ### DATA_OBJECT_VERSION_NOT_ALLOWED_MESSAGE

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

- ## Constructor Details

  - ### DataObjectValidator

    public DataObjectValidator()

- ## Method Details

  - ### validateVersionDataObject

    public static void validateVersionDataObject(String versionDataObject) throws InvalidDataObjectException
    Throws:
      `InvalidDataObjectException`