public class VitamSequence extends VitamDocument<VitamSequence>
| Modifier and Type | Field and Description |
|---|---|
static String |
COUNTER
the contract sequence description
|
static String |
NAME
the contract sequence name
|
ES_FILTER_OUT, ID, SCORE, TENANT_ID, VERSION| Constructor and Description |
|---|
VitamSequence()
Empty Constructor
|
VitamSequence(org.bson.Document document)
Constructor
|
VitamSequence(Integer tenantId) |
VitamSequence(com.fasterxml.jackson.databind.JsonNode content) |
VitamSequence(String content,
Integer tenant) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCounter()
Get the contract sequence counter
|
String |
getName()
Name of the contract sequence
|
VitamDocument<VitamSequence> |
newInstance(com.fasterxml.jackson.databind.JsonNode content)
Make a new instance of the document with the given json
|
VitamSequence |
setCounter(String counter)
Set or change the contract sequence counter
|
VitamSequence |
setId(String id) |
VitamSequence |
setName(String name)
Set or change the contract sequence name
|
checkId, getConcernedDiffLines, getId, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirectappend, 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, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final String NAME
public static final String COUNTER
public VitamSequence()
public VitamSequence(org.bson.Document document)
document - data in format Document to create contactpublic VitamSequence(com.fasterxml.jackson.databind.JsonNode content)
content - in format JsonNode to create contract sequencepublic VitamSequence(String content, Integer tenant)
content - in format String to create contract sequencepublic VitamSequence(Integer tenantId)
tenantId - the working tenantpublic VitamDocument<VitamSequence> newInstance(com.fasterxml.jackson.databind.JsonNode content)
VitamDocumentnewInstance in class VitamDocument<VitamSequence>content - document structure as jsonpublic VitamSequence setId(String id)
id - the id of ingest contract sequencepublic String getName()
public VitamSequence setName(String name)
name - to setpublic Integer getCounter()
public VitamSequence setCounter(String counter)
counter - to setCopyright © 2018 Vitam. All rights reserved.