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

public class CertificationRequirement extends DatabaseBean
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 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

      public String getExamName()
      Returns the examination associated with this certification requirement.
      Returns:
      the examination name, or null if none
    • getText

      public String getText()
      Returns the Requirement text.
      Returns:
      the text
    • setExamName

      public void setExamName(String examName)
      Sets the examination associated with this certification requirement.
      Parameters:
      examName - the examination name
    • setText

      public void setText(String msg)
      Updates the requirement text.
      Parameters:
      msg - the text