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 TypeMethodDescriptionbooleanReturns 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, toStringMethods inherited from class org.deltava.beans.DatabaseBean
equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.deltava.beans.econ.EliteLevelBean
overridenByMethods 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:EliteStatusReturns whether this is a lifetime status.- Overrides:
getIsLifetimein 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
-