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 dataObjectProfile, 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAlgorithm()
java.lang.String
getDataObjectGroupId()
java.lang.Integer
getDataObjectNumber()
java.lang.String
getDataObjectProfile()
java.lang.String
getDataObjectUse()
java.lang.String
getDataObjectVersion()
DbFileInfoModel
getFileInfoModel()
DbFormatIdentificationModel
getFormatIdentificationModel()
java.lang.String
getId()
java.lang.String
getMessageDigest()
MetadataModel
getMetadata()
java.lang.String
getOpi()
OtherMetadata
getOtherMetadata()
java.util.List<PersistentIdentifierModel>
getPersistentIdentifier()
PhysicalDimensionsModel
getPhysicalDimensionsModel()
java.lang.String
getPhysicalId()
long
getSize()
DbStorageModel
getStorage()
java.lang.String
getUri()
int
hashCode()
static DbVersionsModel
newVersionsFrom(DbVersionsModel that, DbFormatIdentificationModel format)
static DbVersionsModel
newVersionsFrom(DbVersionsModel that, OtherMetadata otherMetadata)
void
setAlgorithm(java.lang.String algorithm)
void
setDataObjectGroupId(java.lang.String dataObjectGroupId)
void
setDataObjectNumber(java.lang.Integer dataObjectNumber)
void
setDataObjectProfile(java.lang.String dataObjectProfile)
void
setDataObjectUse(java.lang.String dataObjectUse)
void
setDataObjectVersion(java.lang.String dataObjectVersion)
void
setFileInfoModel(DbFileInfoModel fileInfoModel)
void
setFormatIdentificationModel(DbFormatIdentificationModel formatIdentificationModel)
void
setId(java.lang.String id)
void
setMessageDigest(java.lang.String messageDigest)
void
setMetadata(MetadataModel metadata)
void
setOpi(java.lang.String opi)
void
setOtherMetadata(OtherMetadata otherMetadata)
void
setPersistentIdentifier(java.util.List<PersistentIdentifierModel> persistentIdentifier)
void
setPhysicalDimensionsModel(PhysicalDimensionsModel physicalDimensionsModel)
void
setPhysicalId(java.lang.String physicalId)
void
setSize(long size)
void
setStorage(DbStorageModel storage)
void
setUri(java.lang.String uri)
-
-
-
Constructor Detail
-
DbVersionsModel
public DbVersionsModel()
-
DbVersionsModel
public DbVersionsModel(java.lang.String id, java.lang.String dataObjectProfile, 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)
-
getDataObjectProfile
public java.lang.String getDataObjectProfile()
-
setDataObjectProfile
public void setDataObjectProfile(java.lang.String dataObjectProfile)
-
getPersistentIdentifier
public java.util.List<PersistentIdentifierModel> getPersistentIdentifier()
-
setPersistentIdentifier
public void setPersistentIdentifier(java.util.List<PersistentIdentifierModel> persistentIdentifier)
-
getDataObjectUse
public java.lang.String getDataObjectUse()
-
setDataObjectUse
public void setDataObjectUse(java.lang.String dataObjectUse)
-
getDataObjectNumber
public java.lang.Integer getDataObjectNumber()
-
setDataObjectNumber
public void setDataObjectNumber(java.lang.Integer dataObjectNumber)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-