Class LifetimeStatus
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.econ.EliteStatus
org.deltava.beans.econ.LifetimeStatus
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,EliteLevelBean
,IDBean
,RGBColor
,Cacheable
A bean to store lifetime Elite status for a Pilot.
- Since:
- 11.5
- Version:
- 11.5
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether this is a lifetime status.Returns the name of the lifetime Elite status level.Returns the lifetime Elite status level.Methods inherited from class org.deltava.beans.econ.EliteStatus
cacheKey, compareTo, generateKey, getColor, getEffectiveOn, getLevel, getUpgradeReason, setEffectiveOn, setLevel, setUpgradeReason, toString
Methods inherited from class org.deltava.beans.DatabaseBean
equals, getHexID, getID, hashCode, setID, validateID, validateID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deltava.beans.econ.EliteLevelBean
overridenBy
Methods inherited from interface org.deltava.beans.RGBColor
getHexColor
-
Constructor Details
-
LifetimeStatus
LifetimeStatus(int pilotID, EliteLifetime el) Creates the bean.- Parameters:
pilotID
- the Pilot database IDel
- the EliteLifetime bean
-
-
Method Details
-
getIsLifetime
public boolean getIsLifetime()Description copied from class:EliteStatus
Returns whether this is a lifetime status.- Overrides:
getIsLifetime
in classEliteStatus
- Returns:
- TRUE if a lifetime status, otherwise FALSE
-
getLifetimeName
Returns the name of the lifetime Elite status level.- Returns:
- the lifetime status name
-
getLifetimeStatus
Returns the lifetime Elite status level.- Returns:
- an EliteLifetime bean
-