Class PreservationScenarioModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.administration.preservation.PreservationScenarioModel
-
public class PreservationScenarioModel extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG_CREATION_DATE
static java.lang.String
TAG_IDENTIFIER
static java.lang.String
TAG_LAST_UPDATE
-
Constructor Summary
Constructors Constructor Description PreservationScenarioModel()
PreservationScenarioModel(@NotEmpty java.lang.String name, @NotEmpty java.lang.String identifier, @NotEmpty java.util.List<ActionTypePreservation> actionList, @NotEmpty java.util.List<GriffinByFormat> griffinByFormat, @NotEmpty DefaultGriffin defaultGriffin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ActionTypePreservation>
getActionList()
java.util.Set<java.lang.String>
getAllGriffinIdentifiers()
java.lang.String
getCreationDate()
DefaultGriffin
getDefaultGriffin()
java.lang.String
getDescription()
java.util.List<GriffinByFormat>
getGriffinByFormat()
java.util.Optional<GriffinByFormat>
getGriffinByFormat(java.lang.String format)
java.util.Optional<java.lang.String>
getGriffinIdentifierByFormat(java.lang.String format)
java.lang.String
getId()
java.lang.String
getIdentifier()
java.lang.String
getLastUpdate()
java.lang.String
getName()
java.lang.Integer
getTenant()
java.lang.Integer
getVersion()
void
setActionList(java.util.List<ActionTypePreservation> actionList)
void
setCreationDate(java.lang.String creationDate)
void
setDefaultGriffin(DefaultGriffin defaultGriffin)
void
setDescription(java.lang.String description)
void
setGriffinByFormat(java.util.List<GriffinByFormat> griffinByFormat)
void
setId(java.lang.String id)
void
setIdentifier(java.lang.String identifier)
void
setLastUpdate(java.lang.String lastUpdate)
void
setName(java.lang.String name)
void
setTenant(java.lang.Integer tenant)
void
setVersion(java.lang.Integer version)
java.lang.String
toString()
-
-
-
Field Detail
-
TAG_IDENTIFIER
public static final java.lang.String TAG_IDENTIFIER
- See Also:
- Constant Field Values
-
TAG_CREATION_DATE
public static final java.lang.String TAG_CREATION_DATE
- See Also:
- Constant Field Values
-
TAG_LAST_UPDATE
public static final java.lang.String TAG_LAST_UPDATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PreservationScenarioModel
public PreservationScenarioModel()
-
PreservationScenarioModel
public PreservationScenarioModel(@NotEmpty @NotEmpty java.lang.String name, @NotEmpty @NotEmpty java.lang.String identifier, @NotEmpty @NotEmpty java.util.List<ActionTypePreservation> actionList, @NotEmpty @NotEmpty java.util.List<GriffinByFormat> griffinByFormat, @NotEmpty @NotEmpty DefaultGriffin defaultGriffin)
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getTenant
public java.lang.Integer getTenant()
-
setTenant
public void setTenant(java.lang.Integer tenant)
-
getVersion
public java.lang.Integer getVersion()
-
setVersion
public void setVersion(java.lang.Integer version)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getIdentifier
public java.lang.String getIdentifier()
-
setIdentifier
public void setIdentifier(java.lang.String identifier)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getCreationDate
public java.lang.String getCreationDate()
-
setCreationDate
public void setCreationDate(java.lang.String creationDate)
-
getLastUpdate
public java.lang.String getLastUpdate()
-
setLastUpdate
public void setLastUpdate(java.lang.String lastUpdate)
-
getActionList
public java.util.List<ActionTypePreservation> getActionList()
-
setActionList
public void setActionList(java.util.List<ActionTypePreservation> actionList)
-
getGriffinByFormat
public java.util.List<GriffinByFormat> getGriffinByFormat()
-
setGriffinByFormat
public void setGriffinByFormat(java.util.List<GriffinByFormat> griffinByFormat)
-
getDefaultGriffin
public DefaultGriffin getDefaultGriffin()
-
setDefaultGriffin
public void setDefaultGriffin(DefaultGriffin defaultGriffin)
-
getGriffinIdentifierByFormat
public java.util.Optional<java.lang.String> getGriffinIdentifierByFormat(java.lang.String format)
-
getGriffinByFormat
public java.util.Optional<GriffinByFormat> getGriffinByFormat(java.lang.String format)
-
getAllGriffinIdentifiers
public java.util.Set<java.lang.String> getAllGriffinIdentifiers()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-