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 |
CREATIONDATE
the creatation date of contract
|
static String |
DEACTIVATIONDATE
the desactication date of contract
|
static String |
DESCRIPTION
the contract description
|
static String |
IDENTIFIER
the contract id
|
static String |
LAST_UPDATE
the last update of contract
|
static String |
NAME
the contract name
|
static String |
STATUS
the contract status
|
ES_FILTER_OUT, ID, SCORE, 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) |
Modifier and Type | Method and Description |
---|---|
String |
getActivationdate() |
Set<String> |
getArchiveProfiles() |
String |
getCreationdate() |
String |
getDeactivationdate() |
String |
getDescription()
Get the contract description
|
String |
getLastupdate() |
String |
getName()
Name of the contract
|
ContractStatus |
getStatus()
Get the contract status
|
VitamDocument<IngestContract> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
IngestContract |
setActivationdate(String activationdate) |
IngestContract |
setArchiveProfiles(Set<String> archiveProfiles)
Set the collection of archive profiles
|
IngestContract |
setCreationdate(String creationdate) |
IngestContract |
setDeactivationdate(String deactivationdate) |
IngestContract |
setDescription(String description)
Set or change the contract description
|
IngestContract |
setId(String id) |
IngestContract |
setLastupdate(String lastupdate) |
IngestContract |
setName(String name)
Set or change the contract name
|
IngestContract |
setStatus(ContractStatus status)
Set or change the contract status
|
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 ARCHIVEPROFILES
public static final String CREATIONDATE
public static final String LAST_UPDATE
public static final String ACTIVATIONDATE
public static final String DEACTIVATIONDATE
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 ContractStatus getStatus()
public IngestContract setStatus(ContractStatus status)
status
- to setpublic 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 setCopyright © 2018 Vitam. All rights reserved.