Class AccessionRegisterSymbolic
java.lang.Object
org.bson.Document
fr.gouv.vitam.common.database.server.mongodb.VitamDocument<AccessionRegisterSymbolic>
fr.gouv.vitam.functional.administration.common.server.AccessionRegisterSymbolic
- All Implemented Interfaces:
Serializable
,Map<String,
,Object> org.bson.conversions.Bson
public class AccessionRegisterSymbolic
extends VitamDocument<AccessionRegisterSymbolic>
implements Serializable
Accession Register Summary document
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
the number of ArchiveUnit attached to the originating agencystatic final String
the number of binaryObject attached to the originating agencystatic final String
the total BinaryObjectSize attached to the originating agencystatic final String
the creationDate field of accession registerstatic final String
the number of objectGroup attached to the originating agencystatic final String
the OriginatingAgency field of accession registerstatic final String
the tenant 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 ConstructorAccessionRegisterSymbolic
(com.fasterxml.jackson.databind.JsonNode content) AccessionRegisterSymbolic
(String content) AccessionRegisterSymbolic
(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 jsonsetArchiveUnit
(long archiveUnit) setBinaryObject
(long binaryObject) setBinaryObjectSize
(double binaryObjectSize) setCreationDate
(String creationDate) setObjectGroup
(long objectGroup) setOriginatingAgency
(String orgAgency) setTenant
(int tenant) 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
-
TENANT
the tenant field of accession register- See Also:
-
ORIGINATING_AGENCY
the OriginatingAgency field of accession register- See Also:
-
BINARY_OBJECTS_SIZE
the total BinaryObjectSize attached to the originating agency- See Also:
-
ARCHIVE_UNIT
the number of ArchiveUnit attached to the originating agency- See Also:
-
OBJECT_GROUP
the number of objectGroup attached to the originating agency- See Also:
-
BINARY_OBJECT
the number of binaryObject attached to the originating agency- See Also:
-
CREATION_DATE
the creationDate field of accession register- See Also:
-
-
Constructor Details
-
AccessionRegisterSymbolic
public AccessionRegisterSymbolic()Empty Constructor -
AccessionRegisterSymbolic
public AccessionRegisterSymbolic(org.bson.Document document) Constructor- Parameters:
document
- in format Document to create AccessionRegisterSummary
-
AccessionRegisterSymbolic
public AccessionRegisterSymbolic(com.fasterxml.jackson.databind.JsonNode content) - Parameters:
content
- in format JsonNode to create AccessionRegisterSummary
-
AccessionRegisterSymbolic
- Parameters:
content
- in format String to create AccessionRegisterSummary
-
-
Method Details
-
newInstance
public VitamDocument<AccessionRegisterSymbolic> 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<AccessionRegisterSymbolic>
- 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
-
setBinaryObjectSize
- Parameters:
binaryObjectSize
- to set- Returns:
- AccessionRegisterSummary
-
setArchiveUnit
- Parameters:
archiveUnit
- to set- Returns:
- AccessionRegisterSummary
-
setCreationDate
- Parameters:
creationDate
- to set- Returns:
- AccessionRegisterSummary
-
setObjectGroup
- Parameters:
objectGroup
- to set- Returns:
- AccessionRegisterSummary
-
setBinaryObject
- Parameters:
binaryObject
- to set- Returns:
- AccessionRegisterSummary
-
setTenant
- Parameters:
tenant
- to set- Returns:
- AccessionRegisterSummary
-
getOriginatingAgency
- Returns:
- String
-