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