|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.checker.DSpaceBitstreamInfo
public final class DSpaceBitstreamInfo
Value Object that holds bitstream information that will be used for dspace bitstream.
| Constructor Summary | |
|---|---|
DSpaceBitstreamInfo(boolean del,
int storeNo,
int 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. |
|
| Method Summary | |
|---|---|
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. |
int |
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(int 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DSpaceBitstreamInfo(int bid)
bid - Bitstream identifier
public DSpaceBitstreamInfo(boolean del,
int storeNo,
int 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 description| Method Detail |
|---|
public boolean getDeleted()
public void setDeleted(boolean deleted)
deleted - deleted flagpublic int getStoreNumber()
public void setStoreNumber(int storeNumber)
storeNumber - the store numberpublic int getSize()
public void setSize(int 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||