Package fr.gouv.vitam.storage.engine.common.referential.model

# Class OfferReference

java.lang.Object
fr.gouv.vitam.storage.engine.common.referential.model.OfferReference

public class OfferReference extends Object
Unique Reference to an offer declared in a strategy.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OfferReference()`
  `OfferReference(String id)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getId()`
  `Integer`
  `getRank()`
  `ActivationStatus`
  `getStatus()`
  `boolean`
  `isEnabled()`
  `boolean`
  `isReferent()`
  `void`
  `setId(String id)`
  `void`
  `setRank(Integer rank)`
  `void`
  `setReferent(boolean referent)`
  `void`
  `setStatus(ActivationStatus status)`

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

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

- ## Constructor Details

  - ### OfferReference

    public OfferReference(String id)

  - ### OfferReference

    public OfferReference()

- ## Method Details

  - ### getId

    public String getId()
    Returns:
      the id

  - ### setId

    public void setId(String id)
    Parameters:
      `id` - of `OfferReference`

  - ### isReferent

    public boolean isReferent()
    Returns:
      is referent offer

  - ### setReferent

    public void setReferent(boolean referent)
    Parameters:
      `referent` - is referent offer

  - ### getStatus

    public ActivationStatus getStatus()
    Returns:
      the status

  - ### setStatus

    public void setStatus(ActivationStatus status)
    Parameters:
      `status` - to set

  - ### isEnabled

    public boolean isEnabled()

  - ### getRank

    public Integer getRank()

  - ### setRank

    public void setRank(Integer rank)