com.ibm.commerce.member.facade.datatypes

Class ProfileType

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


    public final class ProfileType
    extends org.eclipse.emf.common.util.AbstractEnumerator
    A representation of the literals of the enumeration 'Profile Type', and utility methods for working with them. The type of profile a person has: Consumer: A consumer profile. Business: A business profile.
    See Also:
    MemberPackage.getProfileType()
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int BUSINESS
      The 'Business' literal value.
      static ProfileType BUSINESS_LITERAL
      The 'Business' literal object.
      static int CONSUMER
      The 'Consumer' literal value.
      static ProfileType CONSUMER_LITERAL
      The 'Consumer' literal object.
      static java.util.List VALUES
      A public read-only list of all the 'Profile Type' enumerators.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static ProfileType get(int value)
      Returns the 'Profile Type' literal with the specified integer value.
      static ProfileType get(java.lang.String literal)
      Returns the 'Profile Type' literal with the specified literal value.
      static ProfileType getByName(java.lang.String name)
      Returns the 'Profile 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

      • CONSUMER

        public static final int CONSUMER
        The 'Consumer' literal value.

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

        See Also:
        CONSUMER_LITERAL, Constant Field Values
      • BUSINESS

        public static final int BUSINESS
        The 'Business' literal value.

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

        See Also:
        BUSINESS_LITERAL, Constant Field Values
      • CONSUMER_LITERAL

        public static final ProfileType CONSUMER_LITERAL
        The 'Consumer' literal object.
        See Also:
        CONSUMER
      • BUSINESS_LITERAL

        public static final ProfileType BUSINESS_LITERAL
        The 'Business' literal object.
        See Also:
        BUSINESS
      • VALUES

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

      • get

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

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

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