Class CardType


  • public final class CardType
    extends Object
    An enumeration of card types.
    Author:
    Thomas Morgner.
    • Field Detail

      • ACCOUNT

        public static final CardType ACCOUNT
        An 'account' card.
      • ADMIN

        public static final CardType ADMIN
        An 'admin' card.
      • USER

        public static final CardType USER
        A 'user' card.
      • PREPAID

        public static final CardType PREPAID
        A 'prepaid' card.
      • FREE

        public static final CardType FREE
        A 'free' card.
      • EMPTY

        public static final CardType EMPTY
        A 'empty' card.
    • Method Detail

      • getTypeName

        public String getTypeName()
        Returns the type name.
        Returns:
        The type name.
      • toString

        public String toString()
        Returns a string representing the type.
        Overrides:
        toString in class Object
        Returns:
        A string.