Class IngestContractModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.administration.AbstractContractModel
-
- fr.gouv.vitam.common.model.administration.IngestContractModel
-
public class IngestContractModel extends AbstractContractModel
Data Transfer Object Model of contract (DTO).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARCHIVE_PROFILES
Archive Profilesstatic java.lang.String
COMPUTE_INHERITED_RULES_AT_INGEST
static java.lang.String
DATA_OBJECT_VERSION
static java.lang.String
EVERY_DATA_OBJECT_VERSION
static java.lang.String
EVERY_FORMAT_TYPE
static java.lang.String
FORMAT_TYPE
static java.lang.String
FORMAT_UNIDENTIFIED_AUTHORIZED
static java.lang.String
LINK_PARENT_ID
Attachment GUIDstatic java.lang.String
MASTER_MANDATORY
static java.lang.String
TAG_CHECK_PARENT_ID
static java.lang.String
TAG_CHECK_PARENT_LINK
Activated control on parent id (AUTHORIZED / REQUIRED / UNAUTHORIZED)static java.lang.String
TAG_MANAGEMENT_CONTRACT_ID
static java.lang.String
TAG_SIGNATURE_POLICY
-
Fields inherited from class fr.gouv.vitam.common.model.administration.AbstractContractModel
TAG_CREATION_DATE, TAG_DESCRIPTION, TAG_IDENTIFIER, TAG_LAST_UPDATE, TAG_NAME, TAG_STATUS
-
-
Constructor Summary
Constructors Constructor Description IngestContractModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getArchiveProfiles()
java.util.Set<java.lang.String>
getCheckParentId()
IngestContractCheckState
getCheckParentLink()
Get the check parent link statusjava.util.Set<java.lang.String>
getDataObjectVersion()
java.util.Set<java.lang.String>
getFormatType()
java.lang.String
getLinkParentId()
java.lang.String
getManagementContractId()
SignaturePolicy
getSignaturePolicy()
boolean
isComputeInheritedRulesAtIngest()
boolean
isEveryDataObjectVersion()
boolean
isEveryFormatType()
boolean
isFormatUnidentifiedAuthorized()
boolean
isMasterMandatory()
IngestContractModel
setArchiveProfiles(java.util.Set<java.lang.String> archiveProfiles)
void
setCheckParentId(java.util.Set<java.lang.String> checkParentId)
AbstractContractModel
setCheckParentLink(IngestContractCheckState state)
Set or change the check parent link statusvoid
setComputeInheritedRulesAtIngest(boolean computeInheritedRulesAtIngest)
IngestContractModel
setDataObjectVersion(java.util.Set<java.lang.String> dataObjectVersion)
IngestContractModel
setEveryDataObjectVersion(boolean everyDataObjectVersion)
IngestContractModel
setEveryFormatType(boolean everyFormatType)
IngestContractModel
setFormatType(java.util.Set<java.lang.String> formatType)
IngestContractModel
setFormatUnidentifiedAuthorized(boolean formatUnidentifiedAuthorized)
void
setLinkParentId(java.lang.String linkParentId)
void
setManagementContractId(java.lang.String managementContractId)
IngestContractModel
setMasterMandatory(boolean masterMandatory)
void
setSignaturePolicy(SignaturePolicy signaturePolicy)
-
Methods inherited from class fr.gouv.vitam.common.model.administration.AbstractContractModel
getActivationdate, getCreationdate, getDeactivationdate, getDescription, getId, getIdentifier, getLastupdate, getName, getStatus, getTenant, getVersion, setActivationdate, setCreationdate, setDeactivationdate, setDescription, setId, setIdentifier, setLastupdate, setName, setStatus, setTenant, setVersion
-
-
-
-
Field Detail
-
ARCHIVE_PROFILES
public static final java.lang.String ARCHIVE_PROFILES
Archive Profiles- See Also:
- Constant Field Values
-
LINK_PARENT_ID
public static final java.lang.String LINK_PARENT_ID
Attachment GUID- See Also:
- Constant Field Values
-
TAG_CHECK_PARENT_LINK
public static final java.lang.String TAG_CHECK_PARENT_LINK
Activated control on parent id (AUTHORIZED / REQUIRED / UNAUTHORIZED)- See Also:
- Constant Field Values
-
TAG_CHECK_PARENT_ID
public static final java.lang.String TAG_CHECK_PARENT_ID
- See Also:
- Constant Field Values
-
MASTER_MANDATORY
public static final java.lang.String MASTER_MANDATORY
- See Also:
- Constant Field Values
-
EVERY_DATA_OBJECT_VERSION
public static final java.lang.String EVERY_DATA_OBJECT_VERSION
- See Also:
- Constant Field Values
-
DATA_OBJECT_VERSION
public static final java.lang.String DATA_OBJECT_VERSION
- See Also:
- Constant Field Values
-
FORMAT_UNIDENTIFIED_AUTHORIZED
public static final java.lang.String FORMAT_UNIDENTIFIED_AUTHORIZED
- See Also:
- Constant Field Values
-
COMPUTE_INHERITED_RULES_AT_INGEST
public static final java.lang.String COMPUTE_INHERITED_RULES_AT_INGEST
- See Also:
- Constant Field Values
-
EVERY_FORMAT_TYPE
public static final java.lang.String EVERY_FORMAT_TYPE
- See Also:
- Constant Field Values
-
FORMAT_TYPE
public static final java.lang.String FORMAT_TYPE
- See Also:
- Constant Field Values
-
TAG_MANAGEMENT_CONTRACT_ID
public static final java.lang.String TAG_MANAGEMENT_CONTRACT_ID
- See Also:
- Constant Field Values
-
TAG_SIGNATURE_POLICY
public static final java.lang.String TAG_SIGNATURE_POLICY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLinkParentId
public java.lang.String getLinkParentId()
- Returns:
- linkParentId
-
setLinkParentId
public void setLinkParentId(java.lang.String linkParentId)
- Parameters:
linkParentId
-
-
getArchiveProfiles
public java.util.Set<java.lang.String> getArchiveProfiles()
-
setArchiveProfiles
public IngestContractModel setArchiveProfiles(java.util.Set<java.lang.String> archiveProfiles)
-
getCheckParentLink
public IngestContractCheckState getCheckParentLink()
Get the check parent link status- Returns:
- Check Parent Link status
-
setCheckParentLink
public AbstractContractModel setCheckParentLink(IngestContractCheckState state)
Set or change the check parent link status- Parameters:
state
- to set- Returns:
- this
-
isMasterMandatory
public boolean isMasterMandatory()
-
setMasterMandatory
public IngestContractModel setMasterMandatory(boolean masterMandatory)
-
isEveryDataObjectVersion
public boolean isEveryDataObjectVersion()
-
setEveryDataObjectVersion
public IngestContractModel setEveryDataObjectVersion(boolean everyDataObjectVersion)
-
getDataObjectVersion
public java.util.Set<java.lang.String> getDataObjectVersion()
-
setDataObjectVersion
public IngestContractModel setDataObjectVersion(java.util.Set<java.lang.String> dataObjectVersion)
-
isFormatUnidentifiedAuthorized
public boolean isFormatUnidentifiedAuthorized()
-
setFormatUnidentifiedAuthorized
public IngestContractModel setFormatUnidentifiedAuthorized(boolean formatUnidentifiedAuthorized)
-
isComputeInheritedRulesAtIngest
public boolean isComputeInheritedRulesAtIngest()
-
setComputeInheritedRulesAtIngest
public void setComputeInheritedRulesAtIngest(boolean computeInheritedRulesAtIngest)
-
isEveryFormatType
public boolean isEveryFormatType()
-
setEveryFormatType
public IngestContractModel setEveryFormatType(boolean everyFormatType)
-
getFormatType
public java.util.Set<java.lang.String> getFormatType()
-
setFormatType
public IngestContractModel setFormatType(java.util.Set<java.lang.String> formatType)
-
getCheckParentId
public java.util.Set<java.lang.String> getCheckParentId()
-
setCheckParentId
public void setCheckParentId(java.util.Set<java.lang.String> checkParentId)
-
getManagementContractId
public java.lang.String getManagementContractId()
-
setManagementContractId
public void setManagementContractId(java.lang.String managementContractId)
-
getSignaturePolicy
public SignaturePolicy getSignaturePolicy()
-
setSignaturePolicy
public void setSignaturePolicy(SignaturePolicy signaturePolicy)
-
-