org.ferris.yahoo.finance.jmce.bean
Enum EmailAddress.Type

java.lang.Object
  extended by java.lang.Enum<EmailAddress.Type>
      extended by org.ferris.yahoo.finance.jmce.bean.EmailAddress.Type
All Implemented Interfaces:
Serializable, Comparable<EmailAddress.Type>
Enclosing class:
EmailAddress

public static enum EmailAddress.Type
extends Enum<EmailAddress.Type>


Enum Constant Summary
bcc
           
cc
           
from
           
reply
           
to
           
 
Method Summary
static EmailAddress.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EmailAddress.Type[] 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

cc

public static final EmailAddress.Type cc

bcc

public static final EmailAddress.Type bcc

to

public static final EmailAddress.Type to

from

public static final EmailAddress.Type from

reply

public static final EmailAddress.Type reply
Method Detail

values

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

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

valueOf

public static EmailAddress.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © May 23, 2006-2012 The Ferris Foundation. All Rights Reserved.