Class DeltaTimeT1
java.lang.Object
de.dlr.proseo.prodclmgr.rest.model.DeltaTimeT1
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new DeltaTimeT1.DeltaTimeT1(Long duration, String unit) Creates a new DeltaTimeT1. -
Method Summary
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
duration
The duration of the time period in time units -
unit
The time unit applicable for this time period (one of { "DAYS", "HOURS", "MINUTES", "SECONDS" })
-
-
Constructor Details
-
DeltaTimeT1
public DeltaTimeT1()Creates a new DeltaTimeT1. -
DeltaTimeT1
Creates a new DeltaTimeT1.
-
-
Method Details
-
getDuration
Returns the duration.- Returns:
- duration
-
setDuration
Set the duration.- Parameters:
duration- the new duration
-
getUnit
Returns the unit.- Returns:
- unit
-
setUnit
Set the unit.- Parameters:
unit- the new unit
-
hashCode
public int hashCode() -
equals
-
toString
-