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 TypeMethodDescriptionintReturns the Author of this bean.Returns the end time of the schedule filter operation.intgetLegs()Returns the total number of flight legs from this source.Returns the CSS class for this object if rendered in a view table.intgetTime()Returns the execution time of the schedule filter operation.voidsetAdjusted(int cnt) Updates the total number of flight legs with arrival times adjusted for DST.voidsetAuthorID(int id) Updates the author of this bean.voidsetLegs(int cnt) Updates the total number of flight legs.voidsetSkipped(int cnt) Updates the total number of flight legs skipped for this source.voidsetTime(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:AuthoredBeanReturns the Author of this bean.- Specified by:
getAuthorIDin 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:ScheduleSourceInfoReturns the total number of flight legs from this source.- Overrides:
getLegsin 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:AuthoredBeanUpdates the author of this bean.- Specified by:
setAuthorIDin 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:ViewEntryReturns the CSS class for this object if rendered in a view table.- Specified by:
getRowClassNamein interfaceViewEntry- Returns:
- the CSS class name, or NULL if none
-