Class CscChecksum
java.lang.Object
de.dlr.proseo.api.prip.rest.model.CscChecksum
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CscChecksum.CscChecksum(String algorithm, String value, String checksumDate) Creates a new CscChecksum. -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringReturns the algorithm.@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") StringReturns the checksumDate.@NotNull StringgetValue()Returns the value.inthashCode()voidsetAlgorithm(String algorithm) Set the algorithm.voidsetChecksumDate(String checksumDate) Set the checksumDate.voidSet the value.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
algorithm
The checksum algorithm (e. g. MD5) -
value
The checksum value -
checksumDate
Date and time the checksum was computed
-
-
Constructor Details
-
CscChecksum
public CscChecksum()Creates a new CscChecksum. -
CscChecksum
Creates a new CscChecksum.
-
-
Method Details
-
getAlgorithm
Returns the algorithm.- Returns:
- algorithm
-
setAlgorithm
Set the algorithm.- Parameters:
algorithm- the new algorithm
-
getValue
Returns the value.- Returns:
- value
-
setValue
Set the value.- Parameters:
value- the new value
-
getChecksumDate
@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String getChecksumDate()Returns the checksumDate.- Returns:
- checksumDate
-
setChecksumDate
Set the checksumDate.- Parameters:
checksumDate- the new checksumDate
-
hashCode
public int hashCode() -
equals
-
toString
-