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
-
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()
java.lang.Boolean
isComputeInheritedRulesAtIngest()
java.lang.Boolean
isEveryDataObjectVersion()
java.lang.Boolean
isEveryFormatType()
java.lang.Boolean
isFormatUnidentifiedAuthorized()
java.lang.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(java.lang.Boolean computeInheritedRulesAtIngest)
IngestContractModel
setDataObjectVersion(java.util.Set<java.lang.String> dataObjectVersion)
void
setDefaultParams()
IngestContractModel
setEveryDataObjectVersion(java.lang.Boolean everyDataObjectVersion)
IngestContractModel
setEveryFormatType(java.lang.Boolean everyFormatType)
IngestContractModel
setFormatType(java.util.Set<java.lang.String> formatType)
IngestContractModel
setFormatUnidentifiedAuthorized(java.lang.Boolean formatUnidentifiedAuthorized)
void
setLinkParentId(java.lang.String linkParentId)
void
setManagementContractId(java.lang.String managementContractId)
IngestContractModel
setMasterMandatory(java.lang.Boolean masterMandatory)
-
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
-
-
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 java.lang.Boolean isMasterMandatory()
-
setMasterMandatory
public IngestContractModel setMasterMandatory(java.lang.Boolean masterMandatory)
-
isEveryDataObjectVersion
public java.lang.Boolean isEveryDataObjectVersion()
-
setEveryDataObjectVersion
public IngestContractModel setEveryDataObjectVersion(java.lang.Boolean everyDataObjectVersion)
-
getDataObjectVersion
public java.util.Set<java.lang.String> getDataObjectVersion()
-
setDataObjectVersion
public IngestContractModel setDataObjectVersion(java.util.Set<java.lang.String> dataObjectVersion)
-
isFormatUnidentifiedAuthorized
public java.lang.Boolean isFormatUnidentifiedAuthorized()
-
setFormatUnidentifiedAuthorized
public IngestContractModel setFormatUnidentifiedAuthorized(java.lang.Boolean formatUnidentifiedAuthorized)
-
isComputeInheritedRulesAtIngest
public java.lang.Boolean isComputeInheritedRulesAtIngest()
-
setComputeInheritedRulesAtIngest
public void setComputeInheritedRulesAtIngest(java.lang.Boolean computeInheritedRulesAtIngest)
-
isEveryFormatType
public java.lang.Boolean isEveryFormatType()
-
setEveryFormatType
public IngestContractModel setEveryFormatType(java.lang.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)
-
setDefaultParams
public void setDefaultParams()
-
-