Klasse DeltaTimeT1

java.lang.Object
de.dlr.proseo.prodclmgr.rest.model.DeltaTimeT1
Alle implementierten Schnittstellen:
Serializable

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

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • duration

      protected Long duration
      The duration of the time period in time units
    • unit

      protected String unit
      The time unit applicable for this time period (one of { "DAYS", "HOURS", "MINUTES", "SECONDS" })
  • Konstruktordetails

    • DeltaTimeT1

      public DeltaTimeT1()
      Creates a new DeltaTimeT1.
    • DeltaTimeT1

      public DeltaTimeT1(Long duration, String unit)
      Creates a new DeltaTimeT1.
  • Methodendetails

    • getDuration

      @NotNull public @NotNull Long getDuration()
      Returns the duration.
      Gibt zurück:
      duration
    • setDuration

      public void setDuration(Long duration)
      Set the duration.
      Parameter:
      duration - the new duration
    • getUnit

      @NotNull public @NotNull String getUnit()
      Returns the unit.
      Gibt zurück:
      unit
    • setUnit

      public void setUnit(String unit)
      Set the unit.
      Parameter:
      unit - the new unit
    • 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