Class ObjectGroup
java.lang.Object
org.bson.Document
fr.gouv.vitam.common.database.server.mongodb.VitamDocument<E>
fr.gouv.vitam.metadata.core.database.collections.MetadataDocument<ObjectGroup>
fr.gouv.vitam.metadata.core.database.collections.ObjectGroup
- All Implemented Interfaces:
Serializable
,Map<String,
,Object> org.bson.conversions.Bson
ObjectGroup:
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Copiesstatic final String
DataObjectVersionstatic final String
Management Contract Id Versionstatic final String
Digeststatic final String
Digest Typestatic final String
Digest Valuestatic final String
Object formatstatic final String
Object UUIDstatic final String
Object sizestatic final String
Storage Idstatic final String
Versionstatic final String
depthsstatic final String
Storage Idstatic final String
Usagesstatic final String
Versionsstatic final String
storage to objectGroupFields inherited from class fr.gouv.vitam.metadata.core.database.collections.MetadataDocument
APPROXIMATE_CREATION_DATE, APPROXIMATE_UPDATE_DATE, ATOMIC_VERSION, BATCH_ID, GRAPH_LAST_PERSISTED_DATE, MANAGEMENT_CONTRACT_ID, NBCHILD, OG, OPI, OPS, ORIGINATING_AGENCIES, ORIGINATING_AGENCY, QUALIFIERS, TYPE, UNITUPS, UP, UPLOAD_PATH
Fields 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 constructorObjectGroup
(com.fasterxml.jackson.databind.JsonNode content) Constructor from JsonObjectGroup
(String content) Constructor from Json as TextObjectGroup
(org.bson.Document content) Constructor from Document -
Method Summary
Modifier and TypeMethodDescriptionprotected com.mongodb.client.MongoCollection<ObjectGroup>
protected MetadataCollections
newInstance
(com.fasterxml.jackson.databind.JsonNode content) Make a new instance of the document with the given jsonMethods inherited from class fr.gouv.vitam.metadata.core.database.collections.MetadataDocument
checkId, getAtomicVersion, getCollectionOrEmpty, getId, getMapOrEmpty, getSp, getUp, setApproximateCreationDate, setApproximateUpdateDate, toStringDebug, toStringDirect
Methods inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
getConcernedDiffLines, getOriginalDiffLines, getTenantId, getUnifiedDiff, getVersion, toString
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
-
USAGES
Usages- See Also:
-
STORAGE
Storage Id- See Also:
-
VERSIONS
Versions- See Also:
-
DATAOBJECTVERSION
DataObjectVersion- See Also:
-
VERSIONS_STORAGE
storage to objectGroup- See Also:
-
OBJECTSTRATEHY
Storage Id- See Also:
-
OBJECTVERSION
Version- See Also:
-
OBJECTID
Object UUID- See Also:
-
MANAGEMENT_CONTRACT_ID_VERSION
Management Contract Id Version- See Also:
-
OBJECTSIZE
Object size- See Also:
-
OBJECTFORMAT
Object format- See Also:
-
OBJECTDIGEST
Digest- See Also:
-
OBJECTDIGEST_VALUE
Digest Value- See Also:
-
OBJECTDIGEST_TYPE
Digest Type- See Also:
-
COPIES
Copies- See Also:
-
OGDEPTHS
depths- See Also:
-
-
Constructor Details
-
ObjectGroup
public ObjectGroup()Empty constructor -
ObjectGroup
public ObjectGroup(com.fasterxml.jackson.databind.JsonNode content) Constructor from Json- Parameters:
content
- the objectgroup of JsonNode format
-
ObjectGroup
public ObjectGroup(org.bson.Document content) Constructor from Document- Parameters:
content
- the objectgroup of Document format
-
ObjectGroup
Constructor from Json as Text- Parameters:
content
- the objectgroup of String format
-
-
Method Details
-
getMetadataCollections
- Specified by:
getMetadataCollections
in classMetadataDocument<ObjectGroup>
- Returns:
- the associated VitamCollection
-
getCollection
- Specified by:
getCollection
in classMetadataDocument<ObjectGroup>
- Returns:
- the associated collection
-
newInstance
Description copied from class:VitamDocument
Make a new instance of the document with the given json- Specified by:
newInstance
in classVitamDocument<ObjectGroup>
- Parameters:
content
- document structure as json- Returns:
- new document with the json as content
-