Klasse CscChecksum

java.lang.Object
de.dlr.proseo.api.prip.rest.model.CscChecksum
Alle implementierten Schnittstellen:
Serializable

public class CscChecksum extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • algorithm

      protected String algorithm
      The checksum algorithm (e. g. MD5)
    • value

      protected String value
      The checksum value
    • checksumDate

      protected String checksumDate
      Date and time the checksum was computed
  • Konstruktordetails

    • CscChecksum

      public CscChecksum()
      Creates a new CscChecksum.
    • CscChecksum

      public CscChecksum(String algorithm, String value, String checksumDate)
      Creates a new CscChecksum.
  • Methodendetails

    • getAlgorithm

      @NotNull public @NotNull String getAlgorithm()
      Returns the algorithm.
      Gibt zurück:
      algorithm
    • setAlgorithm

      public void setAlgorithm(String algorithm)
      Set the algorithm.
      Parameter:
      algorithm - the new algorithm
    • getValue

      @NotNull public @NotNull String getValue()
      Returns the value.
      Gibt zurück:
      value
    • setValue

      public void setValue(String value)
      Set the value.
      Parameter:
      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.
      Gibt zurück:
      checksumDate
    • setChecksumDate

      public void setChecksumDate(String checksumDate)
      Set the checksumDate.
      Parameter:
      checksumDate - the new checksumDate
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object