Class AccessionRegisterSummary
java.lang.Object
org.bson.Document
fr.gouv.vitam.common.database.server.mongodb.VitamDocument<AccessionRegisterSummary>
fr.gouv.vitam.functional.administration.common.AccessionRegisterSummary
- All Implemented Interfaces:
Serializable
,Map<String,
,Object> org.bson.conversions.Bson
Accession Register Summary document
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
the creationDate field of accession registerstatic final String
the deleted field of accession registerstatic final String
the ingested field of accession registerstatic final String
the ObjectSize field of accession registerstatic final String
the OriginatingAgency field of accession registerstatic final String
the remained field of accession registerstatic final String
the TotalObjectGroups field of accession registerstatic final String
the TotalObjects field of accession registerstatic final String
the TotalUnits field of accession registerFields inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION
Fields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY
-
Constructor Summary
ConstructorDescriptionEmpty ConstructorAccessionRegisterSummary
(com.fasterxml.jackson.databind.JsonNode content) AccessionRegisterSummary
(String content) AccessionRegisterSummary
(org.bson.Document document) Constructor -
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(com.fasterxml.jackson.databind.JsonNode content) Make a new instance of the document with the given jsonsetCreationDate
(String creationDate) setObjectSize
(RegisterValueDetailModel objectSize) setOriginatingAgency
(String orgAgency) setTotalObjectGroups
(RegisterValueDetailModel totalObjectGroups) setTotalUnits
(RegisterValueDetailModel totalUnits) Methods inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
checkId, getConcernedDiffLines, getId, getOriginalDiffLines, getTenantId, getUnifiedDiff, getVersion, toString, toStringDirect
Methods inherited from class org.bson.Document
append, clear, containsKey, containsValue, entrySet, equals, get, get, get, getBoolean, getBoolean, getDate, getDouble, getEmbedded, getEmbedded, getInteger, getInteger, getList, getList, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bson.conversions.Bson
toBsonDocument
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
ORIGINATING_AGENCY
the OriginatingAgency field of accession register- See Also:
-
TOTAL_UNITS
the TotalUnits field of accession register- See Also:
-
TOTAL_OBJECTGROUPS
the TotalObjectGroups field of accession register- See Also:
-
TOTAL_OBJECTS
the TotalObjects field of accession register- See Also:
-
OBJECT_SIZE
the ObjectSize field of accession register- See Also:
-
INGESTED
the ingested field of accession register- See Also:
-
DELETED
the deleted field of accession register- See Also:
-
REMAINED
the remained field of accession register- See Also:
-
CREATION_DATE
the creationDate field of accession register- See Also:
-
-
Constructor Details
-
AccessionRegisterSummary
public AccessionRegisterSummary()Empty Constructor -
AccessionRegisterSummary
public AccessionRegisterSummary(org.bson.Document document) Constructor- Parameters:
document
- in format Document to create AccessionRegisterSummary
-
AccessionRegisterSummary
public AccessionRegisterSummary(com.fasterxml.jackson.databind.JsonNode content) - Parameters:
content
- in format JsonNode to create AccessionRegisterSummary
-
AccessionRegisterSummary
- Parameters:
content
- in format String to create AccessionRegisterSummary
-
-
Method Details
-
newInstance
public VitamDocument<AccessionRegisterSummary> newInstance(com.fasterxml.jackson.databind.JsonNode content) Description copied from class:VitamDocument
Make a new instance of the document with the given json- Specified by:
newInstance
in classVitamDocument<AccessionRegisterSummary>
- Parameters:
content
- document structure as json- Returns:
- new document with the json as content
-
setId
- Parameters:
id
- as String to set- Returns:
- AccessionRegisterDetail
-
setOriginatingAgency
- Parameters:
orgAgency
- as Sting to set- Returns:
- AccessionRegisterSummary
-
setTotalUnits
- Parameters:
totalUnits
- to set- Returns:
- AccessionRegisterSummary
-
getTotalUnits
- Returns:
- String
-
setTotalObjectGroups
- Parameters:
totalObjectGroups
- to set- Returns:
- AccessionRegisterSummary
-
getTotalObjectGroups
- Returns:
- String
-
setTotalObjects
- Parameters:
total
- to set- Returns:
- AccessionRegisterSummary
-
getTotalObjects
- Returns:
- String
-
setObjectSize
- Parameters:
objectSize
- to set- Returns:
- AccessionRegisterSummary
-
getTotalObjectSize
- Returns:
- String
-
setCreationDate
- Parameters:
creationDate
- to set- Returns:
- AccessionRegisterSummary
-
getOriginatingAgency
- Returns:
- String
-