@Entity public class LibraryHour extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DAY_FRIDAY |
static int |
DAY_MONDAY |
static int |
DAY_PUBLIC_HOLIDAY |
static int |
DAY_SATURDAY |
static int |
DAY_SUNDAY |
static int |
DAY_THURSDAY |
static int |
DAY_TUESDAY |
static int |
DAY_WEDNESDAY |
| Constructor and Description |
|---|
LibraryHour() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDayOfWeek()
Gets the dayOfWeek for this
LibraryHour. |
String |
getDisplayLabel()
Gets the displayLabel for this
LibraryHour. |
Date |
getFromTime()
Gets the fromTime for this
LibraryHour. |
long |
getId()
Gets the id for this
LibraryHour. |
LibraryHourSet |
getLibraryHourSet()
Gets the libraryHourSet for this
LibraryHour. |
Date |
getToTime()
Gets the toTime for this
LibraryHour. |
boolean |
isClosed()
Returns true if the library is closed for this hour range
|
void |
setDayOfWeek(int dayOfWeek)
Sets the dayOfWeek for this
LibraryHour. |
void |
setDisplayLabel(String displayLabel)
Sets the displayLabel for this
LibraryHour. |
void |
setFromTime(Date fromTime)
Sets the fromTime for this
LibraryHour. |
void |
setId(long id)
Sets the id for this
LibraryHour. |
void |
setLibraryHourSet(LibraryHourSet libraryHourSet)
Sets the libraryHourSet for this
LibraryHour. |
void |
setToTime(Date toTime)
Sets the toTime for this
LibraryHour. |
public static final int DAY_MONDAY
public static final int DAY_TUESDAY
public static final int DAY_WEDNESDAY
public static final int DAY_THURSDAY
public static final int DAY_FRIDAY
public static final int DAY_SATURDAY
public static final int DAY_SUNDAY
public static final int DAY_PUBLIC_HOLIDAY
public LibraryHour()
public long getId()
LibraryHour.public void setId(long id)
LibraryHour.id - the id to setpublic int getDayOfWeek()
LibraryHour.public void setDayOfWeek(int dayOfWeek)
LibraryHour.dayOfWeek - the dayOfWeek to setpublic Date getFromTime()
LibraryHour.public void setFromTime(Date fromTime)
LibraryHour.fromTime - the fromTime to setpublic void setToTime(Date toTime)
LibraryHour.toTime - the toTime to setpublic LibraryHourSet getLibraryHourSet()
LibraryHour.public void setLibraryHourSet(LibraryHourSet libraryHourSet)
LibraryHour.libraryHourSet - the libraryHourSet to setpublic String getDisplayLabel()
LibraryHour.public void setDisplayLabel(String displayLabel)
LibraryHour.displayLabel - the displayLabel to setpublic boolean isClosed()
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.