com.planet_ink.coffee_mud.core.interfaces
Enum ItemPossessor.Expire

java.lang.Object
  extended by java.lang.Enum<ItemPossessor.Expire>
      extended by com.planet_ink.coffee_mud.core.interfaces.ItemPossessor.Expire
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ItemPossessor.Expire>
Enclosing interface:
ItemPossessor

public static enum ItemPossessor.Expire
extends java.lang.Enum<ItemPossessor.Expire>

constants for the addItem methods to denote how long the item lives before expiring


Enum Constant Summary
Monster_Body
           
Monster_EQ
           
Never
           
Player_Body
           
Player_Drop
           
Resource
           
 
Method Summary
static ItemPossessor.Expire valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ItemPossessor.Expire[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Never

public static final ItemPossessor.Expire Never

Monster_EQ

public static final ItemPossessor.Expire Monster_EQ

Player_Drop

public static final ItemPossessor.Expire Player_Drop

Resource

public static final ItemPossessor.Expire Resource

Monster_Body

public static final ItemPossessor.Expire Monster_Body

Player_Body

public static final ItemPossessor.Expire Player_Body
Method Detail

values

public static ItemPossessor.Expire[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ItemPossessor.Expire c : ItemPossessor.Expire.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ItemPossessor.Expire valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null