public class EmployeeWeekendSequence extends Object implements Comparable<EmployeeWeekendSequence>, Serializable
Constructor and Description |
---|
EmployeeWeekendSequence(Employee employee,
int firstSundayIndex,
int lastSundayIndex) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EmployeeWeekendSequence other) |
boolean |
equals(Object o) |
Employee |
getEmployee() |
int |
getFirstSundayIndex() |
int |
getLastSundayIndex() |
int |
getWeekendLength() |
int |
hashCode() |
void |
setEmployee(Employee employee) |
void |
setFirstSundayIndex(int firstSundayIndex) |
void |
setLastSundayIndex(int lastSundayIndex) |
String |
toString() |
public EmployeeWeekendSequence(Employee employee, int firstSundayIndex, int lastSundayIndex)
public Employee getEmployee()
public void setEmployee(Employee employee)
public int getFirstSundayIndex()
public void setFirstSundayIndex(int firstSundayIndex)
public int getLastSundayIndex()
public void setLastSundayIndex(int lastSundayIndex)
public int compareTo(EmployeeWeekendSequence other)
compareTo
in interface Comparable<EmployeeWeekendSequence>
public int getWeekendLength()
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.