org.apache.cocoon.forms.samples
Class PreferredContact

java.lang.Object
  extended by org.apache.commons.lang.enums.Enum
      extended by org.apache.cocoon.forms.samples.PreferredContact
All Implemented Interfaces:
Serializable, Comparable

public class PreferredContact
extends org.apache.commons.lang.enums.Enum

Test apache enum class.

Version:
$Id: PreferredContact.html 1304258 2012-03-23 10:09:27Z ilgrosso $
See Also:
Serialized Form

Field Summary
static PreferredContact EMAIL
           
static PreferredContact FAX
           
static PreferredContact PAGER
           
static PreferredContact PHONE
           
static PreferredContact POSTAL_MAIL
           
 
Fields inherited from class org.apache.commons.lang.enums.Enum
iToString
 
Constructor Summary
protected PreferredContact(String name)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.apache.commons.lang.enums.Enum
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMAIL

public static final PreferredContact EMAIL

FAX

public static final PreferredContact FAX

PHONE

public static final PreferredContact PHONE

PAGER

public static final PreferredContact PAGER

POSTAL_MAIL

public static final PreferredContact POSTAL_MAIL
Constructor Detail

PreferredContact

protected PreferredContact(String name)
Method Detail

toString

public String toString()
Overrides:
toString in class org.apache.commons.lang.enums.Enum


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.