com.planet_ink.coffee_mud.Items.interfaces
Enum ClanItem.ClanItemType

java.lang.Object
  extended by java.lang.Enum<ClanItem.ClanItemType>
      extended by com.planet_ink.coffee_mud.Items.interfaces.ClanItem.ClanItemType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ClanItem.ClanItemType>
Enclosing interface:
ClanItem

public static enum ClanItem.ClanItemType
extends java.lang.Enum<ClanItem.ClanItemType>

The type of clan item this is. Used mostly for cross-identification between items without resorting to class name analysis.

See Also:
ClanItem.getClanItemType(), ClanItem.setClanItemType(ClanItemType)

Enum Constant Summary
ANTI_PROPAGANDA
           
BANNER
           
CRAFTITEM
           
DONATIONJOURNAL
           
FLAG
           
GATHERITEM
           
GAVEL
           
LEGALBADGE
           
PROPAGANDA
           
SPECIALAPRON
           
SPECIALOTHER
           
SPECIALSCALES
           
SPECIALSCAVENGER
           
SPECIALTAXER
           
 
Field Summary
static java.lang.String[] ALL
           
 
Method Summary
 java.lang.String getDisplayName()
           
static ClanItem.ClanItemType getValueOf(java.lang.String name)
          Returns the clanitemtype associated with the given string.
 java.lang.String toString()
           
static ClanItem.ClanItemType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClanItem.ClanItemType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FLAG

public static final ClanItem.ClanItemType FLAG

BANNER

public static final ClanItem.ClanItemType BANNER

GAVEL

public static final ClanItem.ClanItemType GAVEL

PROPAGANDA

public static final ClanItem.ClanItemType PROPAGANDA

GATHERITEM

public static final ClanItem.ClanItemType GATHERITEM

CRAFTITEM

public static final ClanItem.ClanItemType CRAFTITEM

SPECIALSCALES

public static final ClanItem.ClanItemType SPECIALSCALES

SPECIALSCAVENGER

public static final ClanItem.ClanItemType SPECIALSCAVENGER

SPECIALOTHER

public static final ClanItem.ClanItemType SPECIALOTHER

SPECIALTAXER

public static final ClanItem.ClanItemType SPECIALTAXER

DONATIONJOURNAL

public static final ClanItem.ClanItemType DONATIONJOURNAL

ANTI_PROPAGANDA

public static final ClanItem.ClanItemType ANTI_PROPAGANDA

SPECIALAPRON

public static final ClanItem.ClanItemType SPECIALAPRON

LEGALBADGE

public static final ClanItem.ClanItemType LEGALBADGE
Field Detail

ALL

public static final java.lang.String[] ALL
Method Detail

values

public static ClanItem.ClanItemType[] 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 (ClanItem.ClanItemType c : ClanItem.ClanItemType.values())
    System.out.println(c);

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

valueOf

public static ClanItem.ClanItemType 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ClanItem.ClanItemType>

getDisplayName

public java.lang.String getDisplayName()

getValueOf

public static ClanItem.ClanItemType getValueOf(java.lang.String name)
Returns the clanitemtype associated with the given string. The string may be a numeric ordinal of a clanitemtype, or a string name, with "_" characters replaced by "-".

Parameters:
name - the name or ordinal integer value
Returns:
the clanitemtype found, or null