Class OfferReference
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.referential.model.OfferReference
-
public class OfferReference extends java.lang.Object
Unique Reference to an offer declared in a strategy.
-
-
Constructor Summary
Constructors Constructor Description OfferReference()
OfferReference(java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
ActivationStatus
getStatus()
boolean
isEnabled()
boolean
isReferent()
void
setId(java.lang.String id)
void
setReferent(boolean referent)
void
setStatus(ActivationStatus status)
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- the id
-
setId
public void setId(java.lang.String id)
- Parameters:
id
- ofOfferReference
-
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()
-
-