Class CertificationRequirement
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.academy.CertificationRequirement
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,IDBean
,Cacheable
- Direct Known Subclasses:
CourseProgress
A bean to track Flight Academy Certification requirements. Each Certification has a number of
requirements that need to be completed before the Course is done.
- Since:
- 1.0
- Version:
- 3.4
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the examination associated with this certification requirement.getText()
Returns the Requirement text.void
setExamName
(String examName) Sets the examination associated with this certification requirement.void
Updates the requirement text.Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateID
-
Constructor Details
-
CertificationRequirement
public CertificationRequirement(int sequenceID) Creates a Requirement bean.- Parameters:
sequenceID
- the order number- Throws:
IllegalArgumentException
- if sequenceID is zero or negative
-
-
Method Details
-
getExamName
Returns the examination associated with this certification requirement.- Returns:
- the examination name, or null if none
-
getText
-
setExamName
Sets the examination associated with this certification requirement.- Parameters:
examName
- the examination name
-
setText
-