org.deltava.beans.academy
Class TrainingVideo
java.lang.Object
org.deltava.beans.fleet.LibraryEntry
org.deltava.beans.fleet.FileEntry
org.deltava.beans.fleet.Video
org.deltava.beans.academy.TrainingVideo
- All Implemented Interfaces:
- Serializable, Comparable<LibraryEntry>, AuthoredBean, ViewEntry, Cacheable
public class TrainingVideo
- extends Video
A bean to store Flight Academy training video metadata.
- Since:
- 1.0
- Version:
- 2.2
- Author:
- Luke
- See Also:
- Serialized Form
| Methods inherited from class org.deltava.beans.fleet.LibraryEntry |
cacheKey, compareTo, file, getDescription, getDownloadCount, getFileName, getFullName, getName, getRowClassName, getSecurity, getSize, hashCode, setDescription, setDownloadCount, setName, setSecurity, setSize, validateParameter |
TrainingVideo
public TrainingVideo(String fName)
- Creates a new Training Video bean.
- Parameters:
fName - the file name
TrainingVideo
public TrainingVideo(Video v)
- Expands a generic video into a Training Video.
- Parameters:
v - the existing Video bean
getCertifications
public Collection<String> getCertifications()
- Returns the Flight Academy certifications associated with this video.
- Returns:
- a Collection of Certification names
- See Also:
addCertification(String),
setCertifications(Collection)
addCertification
public void addCertification(String certName)
- Adds a Flight Academy certification to this Training Video.
- Parameters:
certName - the Certification name- See Also:
setCertifications(Collection),
getCertifications()
setCertifications
public void setCertifications(Collection<String> certNames)
- Resets and updates the list of Flight Academy certifications associated with this video.
- Parameters:
certNames - a Collection of Certification names- See Also:
addCertification(String),
getCertifications()
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.