Class Timeslot
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.conferencescheduling.domain.Timeslot
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanendsBefore(Timeslot other) getDate()intintgetOverlapInMinutes(Timeslot other) booleanisOnSameDayAs(Timeslot other) booleanoverlapsTime(Timeslot other) booleanpauseExists(Timeslot other, int pauseInMinutes) voidsetEndDateTime(LocalDateTime endDateTime) voidsetStartDateTime(LocalDateTime startDateTime) voidvoidsetTalkTypeSet(Set<TalkType> talkTypeSet) booleanstartsAfter(Timeslot other) toString()withEndDateTime(LocalDateTime endDateTime) withStartDateTime(LocalDateTime startDateTime) withTagSet(Set<String> tagSet) withTalkTypeSet(Set<TalkType> talkTypeSet) Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
Constructor Details
-
Timeslot
public Timeslot() -
Timeslot
public Timeslot(long id)
-
-
Method Details
-
getDate
-
getDurationInMinutes
public int getDurationInMinutes() -
overlapsTime
-
getOverlapInMinutes
-
startsAfter
-
endsBefore
-
isOnSameDayAs
-
pauseExists
-
toString
- Overrides:
toStringin classAbstractPersistable
-
getStartDateTime
-
setStartDateTime
-
getEndDateTime
-
setEndDateTime
-
getTalkTypeSet
-
setTalkTypeSet
-
getTagSet
-
setTagSet
-
withStartDateTime
-
withEndDateTime
-
withTalkTypeSet
-
withTagSet
-