public class CheckSumType extends UntypedData
ALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
CheckSumType(java.lang.String algorithm,
java.lang.String checkSum)
Default constructor with specified algorithm and the corresponding
checksum
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UntypedData datatype) |
java.lang.String |
getAlgorithm() |
java.lang.String |
getCheckSum() |
void |
setAlgorithm(java.lang.String algorithm) |
void |
setCheckSum(java.lang.String checkSum) |
java.lang.String |
toString() |
public CheckSumType(java.lang.String algorithm,
java.lang.String checkSum)
algorithm - the algorithm to calculate the checksum.checkSum - the calculated checksum.public int compareTo(UntypedData datatype)
compareTo in interface java.lang.Comparable<UntypedData>compareTo in class UntypedDatapublic java.lang.String getAlgorithm()
public java.lang.String getCheckSum()
public void setAlgorithm(java.lang.String algorithm)
algorithm - the algorithm to setpublic void setCheckSum(java.lang.String checkSum)
checkSum - the checkSum to setpublic java.lang.String toString()
UntypedDatatoString in class UntypedData