Class ScheduleSourceHistory
java.lang.Object
org.deltava.beans.schedule.ScheduleSourceInfo
org.deltava.beans.schedule.ScheduleSourceHistory
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,AuthoredBean
,CalendarEntry
,ComboAlias
,ViewEntry
,Cacheable
A bean to store Flight Schedule filter history.
- Since:
- 10.1
- Version:
- 11.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.beans.schedule.ScheduleSourceInfo
_adjusted, _skipped
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the bean.Creates the bean from a ScheduleSourceInfo bean. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Author of this bean.Returns the end time of the schedule filter operation.int
getLegs()
Returns the total number of flight legs from this source.Returns the CSS class for this object if rendered in a view table.int
getTime()
Returns the execution time of the schedule filter operation.void
setAdjusted
(int cnt) Updates the total number of flight legs with arrival times adjusted for DST.void
setAuthorID
(int id) Updates the author of this bean.void
setLegs
(int cnt) Updates the total number of flight legs.void
setSkipped
(int cnt) Updates the total number of flight legs skipped for this source.void
setTime
(int ms) Updates the execution time of the schedule filter operation.Methods inherited from class org.deltava.beans.schedule.ScheduleSourceInfo
addLegs, adjust, cacheKey, compareTo, contains, getActive, getAdjusted, getAirlines, getAutoImport, getBaseDate, getComboAlias, getComboName, getDate, getEffectiveDate, getIsCurrent, getLegs, getMaxLineNumber, getNextImportDate, getOptions, getPurged, getSkipped, getSource, hashCode, setActive, setAirlines, setAutoImport, setEffectiveDate, setImportDate, setMaxLineNumber, setPurged, skip, toString
-
Constructor Details
-
ScheduleSourceHistory
Creates the bean.- Parameters:
src
- the ScheduleSource
-
ScheduleSourceHistory
Creates the bean from a ScheduleSourceInfo bean.- Parameters:
inf
- the ScheduleSourceInfo
-
-
Method Details
-
getAuthorID
public int getAuthorID()Description copied from interface:AuthoredBean
Returns the Author of this bean.- Specified by:
getAuthorID
in interfaceAuthoredBean
- Returns:
- the author's database ID
- See Also:
-
getEndDate
Returns the end time of the schedule filter operation.- Returns:
- the end date/time
-
getLegs
public int getLegs()Description copied from class:ScheduleSourceInfo
Returns the total number of flight legs from this source.- Overrides:
getLegs
in classScheduleSourceInfo
- Returns:
- the number of legs
-
getTime
public int getTime()Returns the execution time of the schedule filter operation.- Returns:
- the execution time in milliseconds
-
setAuthorID
public void setAuthorID(int id) Description copied from interface:AuthoredBean
Updates the author of this bean.- Specified by:
setAuthorID
in interfaceAuthoredBean
- Parameters:
id
- the author's database ID.- See Also:
-
setAdjusted
public void setAdjusted(int cnt) Updates the total number of flight legs with arrival times adjusted for DST.- Parameters:
cnt
- the number of legs
-
setLegs
public void setLegs(int cnt) Updates the total number of flight legs.- Parameters:
cnt
- the number of legs
-
setSkipped
public void setSkipped(int cnt) Updates the total number of flight legs skipped for this source.- Parameters:
cnt
- the number of legs
-
setTime
public void setTime(int ms) Updates the execution time of the schedule filter operation.- Parameters:
ms
- the execution time in milliseconds
-
getRowClassName
Description copied from interface:ViewEntry
Returns the CSS class for this object if rendered in a view table.- Specified by:
getRowClassName
in interfaceViewEntry
- Returns:
- the CSS class name, or NULL if none
-