com.ibm.commerce.foundation.common.datatypes

Class AddressUsageEnumerationType

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


    public final class AddressUsageEnumerationType
    extends org.eclipse.emf.common.util.AbstractEnumerator
    A representation of the literals of the enumeration 'Address Usage Enumeration Type', and utility methods for working with them. Indicates how usage of the address: Shipping: Shipping address Billing: Billing address ShippingAndBilling: Shipping and Billing address
    See Also:
    CommerceFoundationPackage.getAddressUsageEnumerationType()
    • Field Detail

      • SHIPPING

        public static final int SHIPPING
        The 'Shipping' literal value.

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

        See Also:
        SHIPPING_LITERAL, Constant Field Values
      • BILLING

        public static final int BILLING
        The 'Billing' literal value.

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

        See Also:
        BILLING_LITERAL, Constant Field Values
      • SHIPPING_AND_BILLING

        public static final int SHIPPING_AND_BILLING
        The 'Shipping And Billing' literal value.

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

        See Also:
        SHIPPING_AND_BILLING_LITERAL, Constant Field Values
      • VALUES

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

      • get

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

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

        public static AddressUsageEnumerationType get(int value)
        Returns the 'Address Usage Enumeration Type' literal with the specified integer value.
        Parameters:
        value - the integer value.
        Returns:
        the matching enumerator or null.