public final class DSpaceBitstreamInfo extends Object
| Constructor and Description |
|---|
DSpaceBitstreamInfo(boolean del,
int storeNo,
long sz,
String bitstrmFmt,
int bitstrmId,
String usrFmtDesc,
String intrnlId,
String src,
String chksumAlgorthm,
String chksum,
String nm,
String desc)
Complete constructor.
|
DSpaceBitstreamInfo(int bid)
Minimal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Identity entirely dependent upon
bitstreamId. |
String |
getBitstreamFormatId()
Get the Bitstream Format id.
|
int |
getBitstreamId()
Get the Bitstream id.
|
String |
getChecksumAlgorithm()
Get the checksum algorithm.
|
boolean |
getDeleted()
Get the deleted flag.
|
String |
getInternalId()
Get the Internal Id.
|
String |
getName()
Get the name of the bitstream.
|
void |
getName(String nm)
Set the name of the bitstream.
|
long |
getSize()
Get the size.
|
String |
getSource()
Get the source.
|
String |
getStoredChecksum()
Get the checksum.
|
int |
getStoreNumber()
Get the store number.
|
String |
getUserFormatDescription()
Get the user format description.
|
int |
hashCode()
HashCode method uses
bitstreamId as hashing function. |
void |
setBitstreamFormatId(String bitstrmFmt)
Set the Bitstream Format id.
|
void |
setChecksumAlgorithm(String checksumAlgorithm)
Set the checksum algorithm.
|
void |
setDeleted(boolean deleted)
Set the deleted flag.
|
void |
setInternalId(String internalId)
Set the Internal Id.
|
void |
setName(String name)
The name of the bitstream.
|
void |
setSize(long size)
Set the size.
|
void |
setSource(String source)
Set the source.
|
void |
setStoredChecksum(String checksum)
Set the checksum.
|
void |
setStoreNumber(int storeNumber)
Set the store number.
|
void |
setUserFormatDescription(String userFormatDescription)
Set the user format description.
|
String |
toString()
Describes this BitstreamInfo.
|
public DSpaceBitstreamInfo(int bid)
bid - Bitstream identifierpublic DSpaceBitstreamInfo(boolean del,
int storeNo,
long sz,
String bitstrmFmt,
int bitstrmId,
String usrFmtDesc,
String intrnlId,
String src,
String chksumAlgorthm,
String chksum,
String nm,
String desc)
del - DeletedstoreNo - Bitstream storeNumbersz - Bitstream sizebitstrmFmt - Bitstream formatbitstrmId - Bitstream idusrFmtDesc - Bitstream format descriptionintrnlId - Bitstream DSpace internal idsrc - Bitstream sourcechksumAlgorthm - Algorithm used to check bitstreamchksum - Hash digest obtainednm - Name of bitstreamdesc - Bitstream descriptionpublic boolean getDeleted()
public void setDeleted(boolean deleted)
deleted - deleted flagpublic int getStoreNumber()
public void setStoreNumber(int storeNumber)
storeNumber - the store numberpublic long getSize()
public void setSize(long size)
size - the bitstream sizepublic String getBitstreamFormatId()
public void setBitstreamFormatId(String bitstrmFmt)
bitstrmFmt - id of the bitstream formatpublic int getBitstreamId()
public String getUserFormatDescription()
public void setUserFormatDescription(String userFormatDescription)
userFormatDescription - the userFormatDescriptionpublic String getInternalId()
public void setInternalId(String internalId)
internalId - the DSpace internal sequence id for the bitstream.public String getSource()
public void setSource(String source)
source - The bitstream source.public String getChecksumAlgorithm()
public void setChecksumAlgorithm(String checksumAlgorithm)
checksumAlgorithm - the algorithm used for checking this bitstreampublic String getStoredChecksum()
public void setStoredChecksum(String checksum)
checksum - The last stored checksum for this bitstream.public String getName()
public void getName(String nm)
nm - The name of this bitstream.public void setName(String name)
name - The name to set.public boolean equals(Object o)
bitstreamId.equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
bitstreamId as hashing function.hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()Copyright © 2014 DuraSpace. All Rights Reserved.