Package fr.gouv.vitam.common

# Class SedaVersion

java.lang.Object
fr.gouv.vitam.common.SedaVersion

public class SedaVersion extends Object
The class SedaVersion used to get the list the versions by type of Data Object from the file version.conf

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SedaVersion()`
  constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getVersionForOtherType(String type)`
  `List<String>`
  `getVersionForType(String type)`
  `boolean`
  `isSupportedVesion(String version)`
  `void`
  `setBinaryDataObjectVersions(String[] binaryDataObjectVersions)`
  `void`
  `setPhysicalDataObjectVersions(String[] physicalDataObjectVersions)`

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

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

- ## Constructor Details

  - ### SedaVersion

    public SedaVersion()
    constructor

- ## Method Details

  - ### getVersionForType

    public List<String> getVersionForType(String type)
    Parameters:
      `type` -
    Returns:
      version list for this type

  - ### getVersionForOtherType

    public List<String> getVersionForOtherType(String type)
    Parameters:
      `type` -
    Returns:
      version list for other type than the one requested

  - ### setBinaryDataObjectVersions

    public void setBinaryDataObjectVersions(String[] binaryDataObjectVersions)
    Parameters:
      `binaryDataObjectVersions` -

  - ### setPhysicalDataObjectVersions

    public void setPhysicalDataObjectVersions(String[] physicalDataObjectVersions)
    Parameters:
      `physicalDataObjectVersions` -

  - ### isSupportedVesion

    public boolean isSupportedVesion(String version)
    Parameters:
      `version` -
    Returns:
      true if version is supported