Class VersionRetentionPolicyModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.administration.VersionRetentionPolicyModel
-
public class VersionRetentionPolicyModel extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG_VERSION_RETENTION_POLICY_INITIAL_VERSION
static java.lang.String
TAG_VERSION_RETENTION_POLICY_INTERMEDIARY_VERSION
static java.lang.String
TAG_VERSION_RETENTION_POLICY_USAGES
-
Constructor Summary
Constructors Constructor Description VersionRetentionPolicyModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getInitialVersion()
VersionUsageModel.IntermediaryVersionEnum
getIntermediaryVersion()
java.util.Set<VersionUsageModel>
getUsages()
void
setInitialVersion(boolean initialVersion)
void
setIntermediaryVersion(VersionUsageModel.IntermediaryVersionEnum intermediaryVersion)
VersionRetentionPolicyModel
setUsages(java.util.Set<VersionUsageModel> usages)
-
-
-
Field Detail
-
TAG_VERSION_RETENTION_POLICY_INITIAL_VERSION
public static final java.lang.String TAG_VERSION_RETENTION_POLICY_INITIAL_VERSION
- See Also:
- Constant Field Values
-
TAG_VERSION_RETENTION_POLICY_INTERMEDIARY_VERSION
public static final java.lang.String TAG_VERSION_RETENTION_POLICY_INTERMEDIARY_VERSION
- See Also:
- Constant Field Values
-
TAG_VERSION_RETENTION_POLICY_USAGES
public static final java.lang.String TAG_VERSION_RETENTION_POLICY_USAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUsages
public java.util.Set<VersionUsageModel> getUsages()
-
setUsages
public VersionRetentionPolicyModel setUsages(java.util.Set<VersionUsageModel> usages)
-
getInitialVersion
public boolean getInitialVersion()
-
setInitialVersion
public void setInitialVersion(boolean initialVersion)
-
getIntermediaryVersion
public VersionUsageModel.IntermediaryVersionEnum getIntermediaryVersion()
-
setIntermediaryVersion
public void setIntermediaryVersion(VersionUsageModel.IntermediaryVersionEnum intermediaryVersion)
-
-