Class Agencies
java.lang.Object
org.bson.Document
fr.gouv.vitam.common.database.server.mongodb.VitamDocument<Agencies>
fr.gouv.vitam.functional.administration.common.Agencies
- All Implemented Interfaces:
Serializable
,Map<String,
,Object> org.bson.conversions.Bson
Defines a Agency collection.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
the Agency descriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
the Agency idstatic final String
static final String
static final String
static final String
static final String
the Agency namestatic final String
static final String
static final String
static final String
static final String
static final String
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
-
Method Summary
Modifier and TypeMethodDescriptionGet the Agency descriptionGet the Agency IdentifiergetName()
Get the Agency namenewInstance
(com.fasterxml.jackson.databind.JsonNode content) Make a new instance of the document with the given jsonsetAlternativeForm
(List<String> alternativeForm) setAuthorizedForm
(List<String> authorizedForm) setBiogHist
(String biogHist) setCreationDate
(String creationDate) setDescription
(String description) Set or change the Agency descriptionsetEntityId
(String entityId) setEntityType
(String entityType) setEventDescription
(String eventDescription) setFromDate
(String fromDate) setFunctions
(List<String> functions) setGeneralContext
(String generalContext) setIdentifier
(String identifier) Set or change the Agency identifiersetLegalStatuses
(List<String> legalStatuses) setLocalStatus
(String localStatus) setMaintenanceStatus
(String maintenanceStatus) setMandates
(List<String> mandates) Set or change the Agency namesetNameEntryParallel
(List<String> nameEntryParallel) setSources
(List<String> sources) setStructureOrGenealogy
(String structureOrGenealogy) setUpdateDate
(String updateDate) wrap()
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
-
IDENTIFIER
the Agency id- See Also:
-
NAME
the Agency name- See Also:
-
DESCRIPTION
the Agency description- See Also:
-
ENTITY_TYPE
- See Also:
-
NAME_ENTRY_PARALLEL
- See Also:
-
AUTHORIZED_FORM
- See Also:
-
ALTERNATIVE_FORM
- See Also:
-
ENTITY_ID
- See Also:
-
FROM_DATE
- See Also:
-
TO_DATE
- See Also:
-
FUNCTIONS
- See Also:
-
BIOG_HIST
- See Also:
-
PLACES
- See Also:
-
LEGAL_STATUSES
- See Also:
-
MANDATES
- See Also:
-
STRUCTURE_OR_GENEALOGY
- See Also:
-
GENERAL_CONTEXT
- See Also:
-
CREATION_DATE
- See Also:
-
UPDATE_DATE
- See Also:
-
MAINTENANCE_STATUS
- See Also:
-
LOCAL_STATUS
- See Also:
-
SOURCES
- See Also:
-
EVENT_DESCRIPTION
- See Also:
-
-
Constructor Details
-
Agencies
public Agencies()/** Empty Constructor -
Agencies
- Parameters:
tenantId
- the working tenant
-
Agencies
public Agencies(org.bson.Document document) Constructor- Parameters:
document
- data in format Document to create agency
-
Agencies
public Agencies(com.fasterxml.jackson.databind.JsonNode content) - Parameters:
content
- in format JsonNode to create agency
-
Agencies
- Parameters:
content
- in format String to create agency
-
-
Method Details
-
newInstance
Description copied from class:VitamDocument
Make a new instance of the document with the given json- Specified by:
newInstance
in classVitamDocument<Agencies>
- Parameters:
content
- document structure as json- Returns:
- new document with the json as content
-
getDescription
Get the Agency description- Returns:
- this
-
setDescription
Set or change the Agency description- Parameters:
description
- to set to Agency- Returns:
- this
-
getIdentifier
Get the Agency Identifier- Returns:
- this
-
setIdentifier
Set or change the Agency identifier- Parameters:
identifier
- to set to Agency- Returns:
- this
-
getName
Get the Agency name- Returns:
- this
-
setName
Set or change the Agency name- Parameters:
name
- to set to Agency- Returns:
- this
-
getEntityType
-
getNameEntryParallel
-
getAuthorizedForm
-
getAlternativeForm
-
getEntityId
-
getFromDate
-
getToDate
-
getFunctions
-
getBiogHist
-
getPlaces
-
getLegalStatuses
-
getMandates
-
getStructureOrGenealogy
-
getGeneralContext
-
getCreationDate
-
getUpdateDate
-
getMaintenanceStatus
-
getLocalStatus
-
getSources
-
getEventDescription
-
setEntityType
-
setNameEntryParallel
-
setAuthorizedForm
-
setAlternativeForm
-
setEntityId
-
setFromDate
-
setToDate
-
setFunctions
-
setBiogHist
-
setPlaces
-
setLegalStatuses
-
setMandates
-
setStructureOrGenealogy
-
setGeneralContext
-
setCreationDate
-
setUpdateDate
-
setMaintenanceStatus
-
setLocalStatus
-
setSources
-
setEventDescription
-
wrap
-