ch.claudio.contactdb.data
Enum IdentityType

java.lang.Object
  extended by java.lang.Enum<IdentityType>
      extended by ch.claudio.contactdb.data.IdentityType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IdentityType>

public enum IdentityType
extends java.lang.Enum<IdentityType>

Version:
$Id: IdentityType.java 32 2006-07-10 23:51:07Z $
Author:
Claudio Nieder

Enum Constant Summary
AIM
          AOL IM identity
dotMac
          .Mac identity
EMail
          EMail Addrss
ICQNick
          ICQ Nick.
ICQNumber
          ICQ Number "fix"
MSN
          MSN IM identity
Real
          A tag for the real person.
Skype
          Skype identifier
Yahoo
          Yahoo Messenger nick
 
Method Summary
static IdentityType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IdentityType[] 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

Real

public static final IdentityType Real
A tag for the real person. Probably not used.


EMail

public static final IdentityType EMail
EMail Addrss


ICQNumber

public static final IdentityType ICQNumber
ICQ Number "fix"


ICQNick

public static final IdentityType ICQNick
ICQ Nick. Can be freely changde while retaining once number.


MSN

public static final IdentityType MSN
MSN IM identity


AIM

public static final IdentityType AIM
AOL IM identity


dotMac

public static final IdentityType dotMac
.Mac identity


Yahoo

public static final IdentityType Yahoo
Yahoo Messenger nick


Skype

public static final IdentityType Skype
Skype identifier

Method Detail

values

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

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

valueOf

public static IdentityType 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