Class AccessionRegisterDetail
- java.lang.Object
-
- org.bson.Document
-
- fr.gouv.vitam.common.database.server.mongodb.VitamDocument<AccessionRegisterDetail>
-
- fr.gouv.vitam.functional.administration.common.AccessionRegisterDetail
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map<java.lang.String,java.lang.Object>
,org.bson.conversions.Bson
public class AccessionRegisterDetail extends VitamDocument<AccessionRegisterDetail>
Accession Register Detail document- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACQUISITION_INFORMATION
static java.lang.String
ARCHIVAL_PROFILE
static java.lang.String
ARCHIVALAGREEMENT
static java.util.List<java.lang.String>
AUTHORIZED_FIELDS_TO_UPDATE
static java.lang.String
COMMENT
static java.lang.String
END_DATE
static java.lang.String
EVENTS
static java.lang.String
LAST_UPDATE
static java.lang.String
LEGAL_STATUS
static java.lang.String
OB_ID_IN
static java.lang.String
OBJECT_SIZE
static java.lang.String
OPC
static java.lang.String
OPERATION_IDS
static java.lang.String
OPI
static java.lang.String
ORIGINATING_AGENCY
static java.lang.String
START_DATE
static java.lang.String
STATUS
static java.lang.String
SUBMISSION_AGENCY
static java.lang.String
TENANT
static java.lang.String
TOTAL_OBJECTGROUPS
static java.lang.String
TOTAL_OBJECTS
static java.lang.String
TOTAL_UNITS
-
Fields inherited from class fr.gouv.vitam.common.database.server.mongodb.VitamDocument
ES_FILTER_OUT, ID, IMPLEMENTATIONVERSION, SCORE, SEDAVERSION, TENANT_ID, VERSION
-
-
Constructor Summary
Constructors Constructor Description AccessionRegisterDetail()
Empty ConstructorAccessionRegisterDetail(com.fasterxml.jackson.databind.JsonNode content)
AccessionRegisterDetail(java.lang.Integer tenantId)
AccessionRegisterDetail(java.lang.String content)
AccessionRegisterDetail(org.bson.Document document)
Constructor
-
Method Summary
-
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
-
-
-
-
Field Detail
-
ACQUISITION_INFORMATION
public static final java.lang.String ACQUISITION_INFORMATION
- See Also:
- Constant Field Values
-
LEGAL_STATUS
public static final java.lang.String LEGAL_STATUS
- See Also:
- Constant Field Values
-
ORIGINATING_AGENCY
public static final java.lang.String ORIGINATING_AGENCY
- See Also:
- Constant Field Values
-
SUBMISSION_AGENCY
public static final java.lang.String SUBMISSION_AGENCY
- See Also:
- Constant Field Values
-
ARCHIVALAGREEMENT
public static final java.lang.String ARCHIVALAGREEMENT
- See Also:
- Constant Field Values
-
START_DATE
public static final java.lang.String START_DATE
- See Also:
- Constant Field Values
-
END_DATE
public static final java.lang.String END_DATE
- See Also:
- Constant Field Values
-
LAST_UPDATE
public static final java.lang.String LAST_UPDATE
- See Also:
- Constant Field Values
-
TOTAL_UNITS
public static final java.lang.String TOTAL_UNITS
- See Also:
- Constant Field Values
-
TOTAL_OBJECTGROUPS
public static final java.lang.String TOTAL_OBJECTGROUPS
- See Also:
- Constant Field Values
-
TOTAL_OBJECTS
public static final java.lang.String TOTAL_OBJECTS
- See Also:
- Constant Field Values
-
OBJECT_SIZE
public static final java.lang.String OBJECT_SIZE
- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
- See Also:
- Constant Field Values
-
OPC
public static final java.lang.String OPC
- See Also:
- Constant Field Values
-
OPI
public static final java.lang.String OPI
- See Also:
- Constant Field Values
-
ARCHIVAL_PROFILE
public static final java.lang.String ARCHIVAL_PROFILE
- See Also:
- Constant Field Values
-
OPERATION_IDS
public static final java.lang.String OPERATION_IDS
- See Also:
- Constant Field Values
-
EVENTS
public static final java.lang.String EVENTS
- See Also:
- Constant Field Values
-
TENANT
public static final java.lang.String TENANT
- See Also:
- Constant Field Values
-
OB_ID_IN
public static final java.lang.String OB_ID_IN
- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
- See Also:
- Constant Field Values
-
AUTHORIZED_FIELDS_TO_UPDATE
public static final java.util.List<java.lang.String> AUTHORIZED_FIELDS_TO_UPDATE
-
-
Constructor Detail
-
AccessionRegisterDetail
public AccessionRegisterDetail()
Empty Constructor
-
AccessionRegisterDetail
public AccessionRegisterDetail(org.bson.Document document)
Constructor- Parameters:
document
- in format Document to create AccessionRegisterDetail
-
AccessionRegisterDetail
public AccessionRegisterDetail(com.fasterxml.jackson.databind.JsonNode content)
- Parameters:
content
- in format JsonNode to create AccessionRegisterDetail
-
AccessionRegisterDetail
public AccessionRegisterDetail(java.lang.String content)
- Parameters:
content
- in format String to create AccessionRegisterDetail
-
AccessionRegisterDetail
public AccessionRegisterDetail(java.lang.Integer tenantId)
- Parameters:
tenantId
- th working tenant
-
-
Method Detail
-
setId
public AccessionRegisterDetail setId(java.lang.String id)
- Parameters:
id
- to set- Returns:
- AccessionRegisterDetail
-
newInstance
public VitamDocument<AccessionRegisterDetail> 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<AccessionRegisterDetail>
- Parameters:
content
- document structure as json- Returns:
- new document with the json as content
-
getAcquisitionInformation
public java.lang.String getAcquisitionInformation()
- Returns:
- String
-
setAcquisitionInformation
public AccessionRegisterDetail setAcquisitionInformation(java.lang.String acquisitionInformation)
- Parameters:
acquisitionInformation
- to set- Returns:
- AccessionRegisterDetail
-
getLegalStatus
public java.lang.String getLegalStatus()
- Returns:
- String
-
setLegalStatus
public AccessionRegisterDetail setLegalStatus(java.lang.String legalStatus)
- Parameters:
legalStatus
- to set- Returns:
- AccessionRegisterDetail
-
setArchivalProfile
public AccessionRegisterDetail setArchivalProfile(java.lang.String ArchivalProfile)
- Parameters:
ArchivalProfile
- to set- Returns:
- AccessionRegisterDetail
-
getArchivalProfile
public java.lang.String getArchivalProfile()
- Returns:
- String
-
getOriginatingAgency
public java.lang.String getOriginatingAgency()
- Returns:
- String
-
setOriginatingAgency
public AccessionRegisterDetail setOriginatingAgency(java.lang.String orgAgency)
- Parameters:
orgAgency
- to set- Returns:
- AccessionRegisterDetail
-
setSubmissionAgency
public AccessionRegisterDetail setSubmissionAgency(java.lang.String subAgency)
- Parameters:
subAgency
- to set- Returns:
- this
-
setArchivalAgreement
public AccessionRegisterDetail setArchivalAgreement(java.lang.String archivalAgreement)
- Parameters:
archivalAgreement
- Archival Agreement id- Returns:
- this
-
setStartDate
public AccessionRegisterDetail setStartDate(java.lang.String startDate)
- Parameters:
startDate
- to set- Returns:
- AccessionRegisterDetail
-
getEndDate
public java.lang.String getEndDate()
- Returns:
- String
-
setEndDate
public AccessionRegisterDetail setEndDate(java.lang.String endDate)
- Parameters:
endDate
- to set- Returns:
- AccessionRegisterDetail
-
setLastUpdate
public AccessionRegisterDetail setLastUpdate(java.lang.String lastUpdate)
- Parameters:
lastUpdate
- to set- Returns:
- AccessionRegisterDetail
-
setObIdIn
public AccessionRegisterDetail setObIdIn(java.lang.String obIdIn)
-
setComment
public AccessionRegisterDetail setComment(java.util.List<java.lang.String> comment)
-
getTotalUnits
public RegisterValueDetailModel getTotalUnits()
- Returns:
- String
-
setTotalUnits
public AccessionRegisterDetail setTotalUnits(RegisterValueDetailModel totalUnits)
- Parameters:
totalUnits
- to set- Returns:
- AccessionRegisterDetail
-
getTotalObjectGroups
public RegisterValueDetailModel getTotalObjectGroups()
- Returns:
- RegisterValueDetail
-
setTotalObjectGroups
public AccessionRegisterDetail setTotalObjectGroups(RegisterValueDetailModel totalObjectGroups)
- Parameters:
totalObjectGroups
- to set- Returns:
- AccessionRegisterDetail
-
getTotalObjects
public RegisterValueDetailModel getTotalObjects()
- Returns:
- RegisterValueDetail
-
setTotalObjects
public AccessionRegisterDetail setTotalObjects(RegisterValueDetailModel total)
- Parameters:
total
- to set- Returns:
- this
-
setObjectSize
public AccessionRegisterDetail setObjectSize(RegisterValueDetailModel objectSize)
- Parameters:
objectSize
- to set- Returns:
- AccessionRegisterDetail
-
getTotalObjectSize
public RegisterValueDetailModel getTotalObjectSize()
- Returns:
- RegisterValueDetail
-
setStatus
public AccessionRegisterDetail setStatus(AccessionRegisterStatus status)
- Parameters:
status
- to set- Returns:
- AccessionRegisterDetail
-
getStatus
public AccessionRegisterStatus getStatus()
-
setOpc
public AccessionRegisterDetail setOpc(java.lang.String opc)
-
getOpc
public java.lang.String getOpc()
-
setOpi
public AccessionRegisterDetail setOpi(java.lang.String opi)
-
getOpi
public java.lang.String getOpi()
-
setOperationIds
public AccessionRegisterDetail setOperationIds(java.util.List<java.lang.String> operationIds)
-
setEvents
public AccessionRegisterDetail setEvents(java.util.List<RegisterValueEventModel> events)
-
getEvents
public java.util.List<RegisterValueEventModel> getEvents()
-
-