Package fr.gouv.vitam.processing.common.model

# Class StorageInformation

java.lang.Object
fr.gouv.vitam.processing.common.model.StorageInformation

public final class StorageInformation extends Object
The class StorageInformation is used to store information about the storage

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StorageInformation()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getNbCopies()`
  `String`
  `getOfferId()`
  `long`
  `getUsableSpace()`
  `void`
  `setNbCopies(int nbCopies)`
  Sets the number of copies
  `StorageInformation`
  `setOfferId(String offerId)`
  `StorageInformation`
  `setUsableSpace(long usableSpace)`

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

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

- ## Constructor Details

  - ### StorageInformation

    public StorageInformation()

- ## Method Details

  - ### getUsableSpace

    public long getUsableSpace()
    Returns:
      usableSpace

  - ### setUsableSpace

    public StorageInformation setUsableSpace(long usableSpace)
    Parameters:
      `usableSpace` - the usableSpace of storage
    Returns:
      StorageInformation

  - ### getOfferId

    public String getOfferId()
    Returns:
      the offer ID

  - ### setOfferId

    public StorageInformation setOfferId(String offerId)
    Parameters:
      `offerId` - the offer ID
    Returns:
      StorageInformation

  - ### getNbCopies

    public int getNbCopies()
    Returns:
      the number of copies

  - ### setNbCopies

    public void setNbCopies(int nbCopies)
    Sets the number of copies
    Parameters:
      `nbCopies` - the number of copies