Class DbVersionsModel
java.lang.Object
fr.gouv.vitam.common.model.objectgroup.DbVersionsModel
DbVersionsModel
-
Constructor Summary
ConstructorDescriptionDbVersionsModel
(String id, String dataObjectProfile, String dataObjectVersion, String dataObjectGroupId, DbFormatIdentificationModel formatIdentificationModel, DbFileInfoModel fileInfoModel, MetadataModel metadata, long size, String uri, String messageDigest, String algorithm, DbStorageModel storage, PhysicalDimensionsModel physicalDimensionsModel, String physicalId, OtherMetadata otherMetadata, String opi) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getOpi()
long
getSize()
getUri()
int
hashCode()
static DbVersionsModel
newVersionsFrom
(DbVersionsModel that, DbFormatIdentificationModel format) static DbVersionsModel
newVersionsFrom
(DbVersionsModel that, OtherMetadata otherMetadata) void
setAlgorithm
(String algorithm) void
setDataObjectGroupId
(String dataObjectGroupId) void
setDataObjectNumber
(Integer dataObjectNumber) void
setDataObjectProfile
(String dataObjectProfile) void
setDataObjectUse
(String dataObjectUse) void
setDataObjectVersion
(String dataObjectVersion) void
setFileInfoModel
(DbFileInfoModel fileInfoModel) void
setFormatIdentificationModel
(DbFormatIdentificationModel formatIdentificationModel) void
void
setMessageDigest
(String messageDigest) void
setMetadata
(MetadataModel metadata) void
void
setOtherMetadata
(OtherMetadata otherMetadata) void
setPersistentIdentifier
(List<PersistentIdentifierModel> persistentIdentifier) void
setPhysicalDimensionsModel
(PhysicalDimensionsModel physicalDimensionsModel) void
setPhysicalId
(String physicalId) void
setSize
(long size) void
setStorage
(DbStorageModel storage) void
-
Constructor Details
-
DbVersionsModel
public DbVersionsModel() -
DbVersionsModel
public DbVersionsModel(String id, String dataObjectProfile, String dataObjectVersion, String dataObjectGroupId, DbFormatIdentificationModel formatIdentificationModel, DbFileInfoModel fileInfoModel, MetadataModel metadata, long size, String uri, String messageDigest, String algorithm, DbStorageModel storage, PhysicalDimensionsModel physicalDimensionsModel, String physicalId, OtherMetadata otherMetadata, String opi)
-
-
Method Details
-
newVersionsFrom
-
newVersionsFrom
public static DbVersionsModel newVersionsFrom(DbVersionsModel that, DbFormatIdentificationModel format) -
getId
-
setId
-
getDataObjectVersion
-
setDataObjectVersion
-
getDataObjectGroupId
-
setDataObjectGroupId
-
getFormatIdentificationModel
-
setFormatIdentificationModel
-
getFileInfoModel
-
setFileInfoModel
-
getMetadata
-
setMetadata
-
getSize
public long getSize() -
setSize
public void setSize(long size) -
getUri
-
setUri
-
getMessageDigest
-
setMessageDigest
-
getAlgorithm
-
setAlgorithm
-
getStorage
-
setStorage
-
getPhysicalDimensionsModel
-
setPhysicalDimensionsModel
-
getPhysicalId
-
setPhysicalId
-
getOtherMetadata
-
setOtherMetadata
-
getOpi
-
setOpi
-
getDataObjectProfile
-
setDataObjectProfile
-
getPersistentIdentifier
-
setPersistentIdentifier
-
getDataObjectUse
-
setDataObjectUse
-
getDataObjectNumber
-
setDataObjectNumber
-
equals
-
hashCode
public int hashCode()
-