com.sun.syndication.feed.module.base.types
Class GenderEnumeration

java.lang.Object
  extended by com.sun.syndication.feed.module.base.types.GenderEnumeration
All Implemented Interfaces:
CloneableType, java.lang.Cloneable

public class GenderEnumeration
extends java.lang.Object
implements CloneableType

Simple enumeration for Genders.

Version:
$Revision: 1.1 $
Author:
Robert "kebernet" Cooper

Field Summary
static GenderEnumeration FEMALE
          Women
static GenderEnumeration MALE
          Men
 
Method Summary
 java.lang.Object clone()
          Returns a reference to the same object.
static GenderEnumeration findByValue(java.lang.String value)
          Returns the proper instance based on the string value
 java.lang.String getValue()
          Returns the value of the instance
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MALE

public static final GenderEnumeration MALE
Men


FEMALE

public static final GenderEnumeration FEMALE
Women

Method Detail

findByValue

public static GenderEnumeration findByValue(java.lang.String value)
Returns the proper instance based on the string value


getValue

public java.lang.String getValue()
Returns the value of the instance


clone

public java.lang.Object clone()
Returns a reference to the same object. :P

Specified by:
clone in interface CloneableType
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2009. All Rights Reserved.