Interface EliteLevelBean

All Superinterfaces:
RGBColor
All Known Implementing Classes:
EliteLifetime, EliteLifetimeStatus, EliteStatus, LifetimeStatus

public interface EliteLevelBean extends RGBColor
An interface to mark beans that contain an Elite level.
Since:
9.2
Version:
11.5
Author:
Luke
  • Method Details

    • getLevel

      EliteLevel getLevel()
      Returns the Elite status level.
      Returns:
      the EliteLevel
    • setLevel

      void setLevel(EliteLevel lvl)
      Updates the Elite status level.
      Parameters:
      lvl - the EliteLevel
    • overridenBy

      default boolean overridenBy(EliteLevelBean el)
      Determines whether this bean's Elite status level is exceeded by another EliteLeveBean.
      Parameters:
      el - the EliteLevelBean
      Returns:
      if the status level is less than that of the other bean