public class IngestContract extends VitamDocument<IngestContract>
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVATIONDATE
the activation date of contract
|
static String |
ARCHIVEPROFILES
Archive profile
|
static String |
CHECKPARENTLINK
check parent link status (ACTIVE / INACTIVE)
|
static String |
CREATIONDATE
the creatation date of contract
|
static String |
DEACTIVATIONDATE
the desactication date of contract
|
static String |
DESCRIPTION
the contract description
|
static String |
EVERYDATAOBJECTVERSION
the everydataobjectversion false by default
|
static String |
EVERYFORMATTYPE
the EveryFormatType true by default
|
static String |
FORMATUNIDENTIFIEDAUTHORIZED
the FormatUnidentifiedAuthorized false by default
|
static String |
IDENTIFIER
the contract id
|
static String |
LAST_UPDATE
the last update of contract
|
static String |
MASTERMANDATORY
the MasterMandatory true by default
|
static String |
NAME
the contract name
|
static String |
STATUS
the contract status
|
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION
Constructor and Description |
---|
IngestContract()
Empty Constructor
|
IngestContract(org.bson.Document document)
Constructor
|
IngestContract(Integer tenantId) |
IngestContract(com.fasterxml.jackson.databind.JsonNode content) |
IngestContract(String content) |
checkId, getConcernedDiffLines, getId, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirect
append, clear, containsKey, containsValue, entrySet, equals, get, get, getBoolean, getBoolean, getDate, getDouble, getInteger, getInteger, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String IDENTIFIER
public static final String NAME
public static final String DESCRIPTION
public static final String STATUS
public static final String CHECKPARENTLINK
public static final String ARCHIVEPROFILES
public static final String CREATIONDATE
public static final String LAST_UPDATE
public static final String ACTIVATIONDATE
public static final String DEACTIVATIONDATE
public static final String EVERYDATAOBJECTVERSION
public static final String MASTERMANDATORY
public static final String FORMATUNIDENTIFIEDAUTHORIZED
public static final String EVERYFORMATTYPE
public IngestContract()
public IngestContract(org.bson.Document document)
document
- data in format Document to create contactpublic IngestContract(com.fasterxml.jackson.databind.JsonNode content)
content
- in format JsonNode to create contractpublic IngestContract(String content)
content
- in format String to create contractpublic IngestContract(Integer tenantId)
tenantId
- the working tenantpublic IngestContract setId(String id)
id
- the id of ingest contractpublic VitamDocument<IngestContract> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocument
newInstance
in class VitamDocument<IngestContract>
content
- document structure as jsonpublic String getName()
public IngestContract setName(String name)
name
- to setpublic String getDescription()
public IngestContract setDescription(String description)
description
- to set to contactpublic ActivationStatus getStatus()
public IngestContract setStatus(ActivationStatus status)
status
- to setpublic IngestContract setCheckParentLink(ActivationStatus checkParentLink)
checkParentLink
- to setpublic ActivationStatus getCheckParentLink()
public IngestContract setArchiveProfiles(Set<String> archiveProfiles)
archiveProfiles
- public String getCreationdate()
public IngestContract setCreationdate(String creationdate)
creationdate
- to setpublic String getLastupdate()
public IngestContract setLastupdate(String lastupdate)
lastupdate
- to setpublic String getActivationdate()
public IngestContract setActivationdate(String activationdate)
activationdate
- to setpublic String getDeactivationdate()
public IngestContract setDeactivationdate(String deactivationdate)
deactivationdate
- to setpublic Boolean getEveryDataObjectVersion()
public IngestContract setEveryDataObjectVersion(boolean everyDataObjectVersion)
public Boolean getMasterMandatory()
public IngestContract setMasterMandatory(boolean masterMandatory)
public Boolean getEveryFormatType()
public IngestContract setEveryFormatType(boolean everyFormatType)
public Boolean getFormatUnidentifiedAuthorized()
public IngestContract setFormatUnidentifiedAuthorized(boolean formatUnidentifiedAuthorized)
Copyright © 2018 Vitam. All rights reserved.