Class Notice

All Implemented Interfaces:
Serializable, Comparable<Object>, AuthoredBean, IDBean, ViewEntry, Cacheable

public class Notice extends News implements ViewEntry
A class for storing Notice to Airmen (NOTAM) entries.
Since:
1.0
Version:
10.6
Author:
Luke
See Also:
  • Constructor Details

    • Notice

      public Notice(String sbj, String body)
      Creates a new NOTAM. The NOTAM will automatically be marked active.
      Parameters:
      sbj - the NOTAM subject
      body - the body of the NOTAM
  • Method Details

    • getActive

      public boolean getActive()
      Returns if this NOTAM is in effect.
      Returns:
      TRUE if in effect, otherwise FALSE
      See Also:
    • setActive

      public void setActive(boolean active)
      Updates if this NOTAM is in effect.
      Parameters:
      active - TRUE if in effect, otherwise FALSE
      See Also:
    • getImageType

      public ImageType getImageType()
      Description copied from class: ImageBean
      Returns the database image type.
      Overrides:
      getImageType in class News
      Returns:
      an ImageType
    • getRowClassName

      public String getRowClassName()
      Description copied from interface: ViewEntry
      Returns the CSS class for this object if rendered in a view table.
      Specified by:
      getRowClassName in interface ViewEntry
      Returns:
      the CSS class name, or NULL if none