Class DbVersionsModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.objectgroup.DbVersionsModel
-
public class DbVersionsModel extends java.lang.Object
DbVersionsModel
-
-
Constructor Summary
Constructors Constructor Description DbVersionsModel()
DbVersionsModel(java.lang.String id, java.lang.String dataObjectVersion, java.lang.String dataObjectGroupId, DbFormatIdentificationModel formatIdentificationModel, DbFileInfoModel fileInfoModel, MetadataModel metadata, long size, java.lang.String uri, java.lang.String messageDigest, java.lang.String algorithm, DbStorageModel storage, PhysicalDimensionsModel physicalDimensionsModel, java.lang.String physicalId, OtherMetadata otherMetadata, java.lang.String opi)
-
Method Summary
-
-
-
Constructor Detail
-
DbVersionsModel
public DbVersionsModel()
-
DbVersionsModel
public DbVersionsModel(java.lang.String id, java.lang.String dataObjectVersion, java.lang.String dataObjectGroupId, DbFormatIdentificationModel formatIdentificationModel, DbFileInfoModel fileInfoModel, MetadataModel metadata, long size, java.lang.String uri, java.lang.String messageDigest, java.lang.String algorithm, DbStorageModel storage, PhysicalDimensionsModel physicalDimensionsModel, java.lang.String physicalId, OtherMetadata otherMetadata, java.lang.String opi)
-
-
Method Detail
-
newVersionsFrom
public static DbVersionsModel newVersionsFrom(DbVersionsModel that, OtherMetadata otherMetadata)
-
newVersionsFrom
public static DbVersionsModel newVersionsFrom(DbVersionsModel that, DbFormatIdentificationModel format)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getDataObjectVersion
public java.lang.String getDataObjectVersion()
-
setDataObjectVersion
public void setDataObjectVersion(java.lang.String dataObjectVersion)
-
getDataObjectGroupId
public java.lang.String getDataObjectGroupId()
-
setDataObjectGroupId
public void setDataObjectGroupId(java.lang.String dataObjectGroupId)
-
getFormatIdentificationModel
public DbFormatIdentificationModel getFormatIdentificationModel()
-
setFormatIdentificationModel
public void setFormatIdentificationModel(DbFormatIdentificationModel formatIdentificationModel)
-
getFileInfoModel
public DbFileInfoModel getFileInfoModel()
-
setFileInfoModel
public void setFileInfoModel(DbFileInfoModel fileInfoModel)
-
getMetadata
public MetadataModel getMetadata()
-
setMetadata
public void setMetadata(MetadataModel metadata)
-
getSize
public long getSize()
-
setSize
public void setSize(long size)
-
getUri
public java.lang.String getUri()
-
setUri
public void setUri(java.lang.String uri)
-
getMessageDigest
public java.lang.String getMessageDigest()
-
setMessageDigest
public void setMessageDigest(java.lang.String messageDigest)
-
getAlgorithm
public java.lang.String getAlgorithm()
-
setAlgorithm
public void setAlgorithm(java.lang.String algorithm)
-
getStorage
public DbStorageModel getStorage()
-
setStorage
public void setStorage(DbStorageModel storage)
-
getPhysicalDimensionsModel
public PhysicalDimensionsModel getPhysicalDimensionsModel()
-
setPhysicalDimensionsModel
public void setPhysicalDimensionsModel(PhysicalDimensionsModel physicalDimensionsModel)
-
getPhysicalId
public java.lang.String getPhysicalId()
-
setPhysicalId
public void setPhysicalId(java.lang.String physicalId)
-
getOtherMetadata
public OtherMetadata getOtherMetadata()
-
setOtherMetadata
public void setOtherMetadata(OtherMetadata otherMetadata)
-
getOpi
public java.lang.String getOpi()
-
setOpi
public void setOpi(java.lang.String opi)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-