@Entity public class RosterState extends AbstractPersistable
| Constructor and Description |
|---|
RosterState() |
RosterState(Integer tenantId,
Integer publishNotice,
LocalDate firstDraftDate,
Integer publishLength,
Integer draftLength,
Integer unplannedRotationOffset,
Integer rotationLength,
LocalDate lastHistoricDate,
ZoneId timeZone) |
equals, getId, getTenantId, getVersion, hashCode, setId, setTenantId, setVersion, toStringpublic boolean isHistoric(OffsetDateTime dateTime)
public boolean isDraft(OffsetDateTime dateTime)
public boolean isPublished(OffsetDateTime dateTime)
public boolean isHistoric(LocalDateTime dateTime)
public boolean isDraft(LocalDateTime dateTime)
public boolean isPublished(LocalDateTime dateTime)
public boolean isHistoric(Shift shift)
public boolean isDraft(Shift shift)
public boolean isPublished(Shift shift)
public LocalDate getFirstPublishedDate()
public LocalDate getFirstUnplannedDate()
public LocalDate getPublishDeadline()
public Integer getPublishNotice()
public void setPublishNotice(Integer publishNotice)
public Integer getDraftLength()
public void setDraftLength(Integer draftLength)
public Integer getPublishLength()
public Integer getRotationLength()
public void setRotationLength(Integer rotationLength)
public LocalDate getFirstDraftDate()
public void setFirstDraftDate(LocalDate firstDraftDate)
public Integer getUnplannedRotationOffset()
public void setUnplannedRotationOffset(Integer unplannedOffset)
public void setLastHistoricDate(LocalDate lastHistoricDate)
public LocalDate getLastHistoricDate()
public ZoneId getTimeZone()
public void setTimeZone(ZoneId timeZone)
public Tenant getTenant()
public void setTenant(Tenant tenant)
Copyright © 2017–2020 JBoss by Red Hat. All rights reserved.