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
FieldsModifier and TypeFieldDescriptionstatic final StringCopiesstatic final StringDataObjectVersionstatic final StringManagement Contract Id Versionstatic final StringDigeststatic final StringDigest Typestatic final StringDigest Valuestatic final StringObject formatstatic final StringObject UUIDstatic final StringObject sizestatic final StringStorage Idstatic final StringVersionstatic final Stringdepthsstatic final StringStorage Idstatic final StringUsagesstatic final StringVersionsstatic final Stringstorage 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_PATHFields inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSIONFields inherited from interface org.bson.conversions.Bson
DEFAULT_CODEC_REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionEmpty 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 MetadataCollectionsnewInstance(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, toStringDirectMethods inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
getConcernedDiffLines, getOriginalDiffLines, getTenantId, getUnifiedDiff, getVersion, toStringMethods 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, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bson.conversions.Bson
toBsonDocumentMethods 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:
getMetadataCollectionsin classMetadataDocument<ObjectGroup>- Returns:
- the associated VitamCollection
-
getCollection
- Specified by:
getCollectionin classMetadataDocument<ObjectGroup>- Returns:
- the associated collection
-
newInstance
Description copied from class:VitamDocumentMake a new instance of the document with the given json- Specified by:
newInstancein classVitamDocument<ObjectGroup>- Parameters:
content- document structure as json- Returns:
- new document with the json as content
-