Class EliteLifetimeStatus
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.econ.EliteLifetimeStatus
- All Implemented Interfaces:
Serializable,Comparable<Object>,EliteLevelBean,IDBean,RGBColor,Cacheable
A bean to track Pilots achieving a lifetime Elite status.
- Since:
- 11.5
- Version:
- 11.5
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()Returns the RGB color.Returns the effective date of this status.getLevel()Returns the Elite status level.Returns the lifetime Elite status achieved.Returns the reason for this status upgrade.voidReturns the effective date of this status.voidsetLevel(EliteLevel lvl) Updates the Elite status level.voidUpdates the reason for this status upgrade.toStatus()Creates an EliteStatus bean with the equivalent status level.Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.deltava.beans.econ.EliteLevelBean
overridenByMethods inherited from interface org.deltava.beans.RGBColor
getHexColor
-
Constructor Details
-
EliteLifetimeStatus
Creates the bean.- Parameters:
pilotID- the Pilot's database IDel- the EliteLifetime status achieved
-
-
Method Details
-
getLifetimeStatus
Returns the lifetime Elite status achieved.- Returns:
- an EliteLifetime bean
-
toStatus
Creates an EliteStatus bean with the equivalent status level.- Returns:
- an EliteStatus bean
-
getLevel
Description copied from interface:EliteLevelBeanReturns the Elite status level.- Specified by:
getLevelin interfaceEliteLevelBean- Returns:
- the EliteLevel
-
getColor
-
getEffectiveOn
Returns the effective date of this status.- Returns:
- the effective date
-
getUpgradeReason
Returns the reason for this status upgrade.- Returns:
- an UpgradeReason
-
setEffectiveOn
Returns the effective date of this status.- Parameters:
dt- the effective date
-
setUpgradeReason
Updates the reason for this status upgrade.- Parameters:
ur- an UpgradeReason
-
setLevel
Description copied from interface:EliteLevelBeanUpdates the Elite status level.- Specified by:
setLevelin interfaceEliteLevelBean- Parameters:
lvl- the EliteLevel
-