com.ibm.commerce.member.facade.datatypes

Class GenderType

  • java.lang.Object
    • org.eclipse.emf.common.util.AbstractEnumerator
      • com.ibm.commerce.member.facade.datatypes.GenderType
  • All Implemented Interfaces:
    org.eclipse.emf.common.util.Enumerator


    public final class GenderType
    extends org.eclipse.emf.common.util.AbstractEnumerator
    A representation of the literals of the enumeration 'Gender Type', and utility methods for working with them. Specifies the gender of the person.
    See Also:
    MemberPackage.getGenderType()
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static GenderType get(int value)
      Returns the 'Gender Type' literal with the specified integer value.
      static GenderType get(java.lang.String literal)
      Returns the 'Gender Type' literal with the specified literal value.
      static GenderType getByName(java.lang.String name)
      Returns the 'Gender Type' literal with the specified name.
      • Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator

        getLiteral, getName, getValue, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • MALE

        public static final int MALE
        The 'Male' literal value.

        If the meaning of 'Male' literal object isn't clear, there really should be more of a description here...

        See Also:
        MALE_LITERAL, Constant Field Values
      • FEMALE

        public static final int FEMALE
        The 'Female' literal value.

        If the meaning of 'Female' literal object isn't clear, there really should be more of a description here...

        See Also:
        FEMALE_LITERAL, Constant Field Values
      • UNSPECIFIED

        public static final int UNSPECIFIED
        The 'Unspecified' literal value.

        If the meaning of 'Unspecified' literal object isn't clear, there really should be more of a description here...

        See Also:
        UNSPECIFIED_LITERAL, Constant Field Values
      • MALE_LITERAL

        public static final GenderType MALE_LITERAL
        The 'Male' literal object.
        See Also:
        MALE
      • FEMALE_LITERAL

        public static final GenderType FEMALE_LITERAL
        The 'Female' literal object.
        See Also:
        FEMALE
      • UNSPECIFIED_LITERAL

        public static final GenderType UNSPECIFIED_LITERAL
        The 'Unspecified' literal object.
        See Also:
        UNSPECIFIED
      • VALUES

        public static final java.util.List VALUES
        A public read-only list of all the 'Gender Type' enumerators.
    • Method Detail

      • get

        public static GenderType get(java.lang.String literal)
        Returns the 'Gender Type' literal with the specified literal value.
        Parameters:
        literal - the literal.
        Returns:
        the matching enumerator or null.
      • getByName

        public static GenderType getByName(java.lang.String name)
        Returns the 'Gender Type' literal with the specified name.
        Parameters:
        name - the name.
        Returns:
        the matching enumerator or null.
      • get

        public static GenderType get(int value)
        Returns the 'Gender Type' literal with the specified integer value.
        Parameters:
        value - the integer value.
        Returns:
        the matching enumerator or null.