Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
java.util.Date |
shiftEndDate |
java.util.Date |
shiftStartDate |
Constructor and Description |
---|
Shift(java.lang.String name,
java.util.Date shiftStartDate,
java.util.Date shiftEndDate) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Shift s) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
java.util.Date |
getShiftEndDate() |
java.util.Date |
getShiftStartDate() |
int |
hashCode() |
void |
setName(java.lang.String name) |
void |
setShiftEndDate(java.util.Date shiftEndDate) |
void |
setShiftStartDate(java.util.Date shiftStartDate) |
public java.lang.String name
public java.util.Date shiftStartDate
public java.util.Date shiftEndDate
public Shift(java.lang.String name, java.util.Date shiftStartDate, java.util.Date shiftEndDate)
public java.util.Date getShiftStartDate()
public void setShiftStartDate(java.util.Date shiftStartDate)
public java.util.Date getShiftEndDate()
public void setShiftEndDate(java.util.Date shiftEndDate)
public java.lang.String getName()
public void setName(java.lang.String name)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object