Class DtoToolReservation
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoToolReservation
- All Implemented Interfaces:
IDtoToolReservation
A stretch of time when (a number of copies of) a tool is removed from the available quantity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEnd()...until this time (end greater than start).Number of reserved copies of this tool.getStart()From this time...inthashCode()void...until this time (end greater than start).voidsetQuantity(Integer quantity) Number of reserved copies of this tool.voidFrom this time......until this time (end greater than start).withQuantity(Integer quantity) Number of reserved copies of this tool.From this time...
-
Constructor Details
-
DtoToolReservation
public DtoToolReservation()
-
-
Method Details
-
getStart
From this time... (end greater than start)- Specified by:
getStartin interfaceIDtoToolReservation
-
setStart
From this time... (end greater than start)- Specified by:
setStartin interfaceIDtoToolReservation
-
getEnd
...until this time (end greater than start).- Specified by:
getEndin interfaceIDtoToolReservation
-
setEnd
...until this time (end greater than start).- Specified by:
setEndin interfaceIDtoToolReservation
-
getQuantity
Number of reserved copies of this tool.- Specified by:
getQuantityin interfaceIDtoToolReservation
-
setQuantity
Number of reserved copies of this tool.- Specified by:
setQuantityin interfaceIDtoToolReservation
-
withStart
From this time... (end greater than start) -
withEnd
...until this time (end greater than start). -
withQuantity
Number of reserved copies of this tool. -
equals
-
hashCode
public int hashCode()
-