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 TypeMethodDescriptionint
getColor()
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.void
Returns the effective date of this status.void
setLevel
(EliteLevel lvl) Updates the Elite status level.void
Updates 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, validateID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.econ.EliteLevelBean
overridenBy
Methods 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:EliteLevelBean
Returns the Elite status level.- Specified by:
getLevel
in 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:EliteLevelBean
Updates the Elite status level.- Specified by:
setLevel
in interfaceEliteLevelBean
- Parameters:
lvl
- the EliteLevel
-