Enum WSRPVersionFromTo

  • All Implemented Interfaces:
    Serializable, Comparable<WSRPVersionFromTo>

    public enum WSRPVersionFromTo
    extends Enum<WSRPVersionFromTo>
    Enum that holds values from ProducerVersion to be shown in the interface.
    Since:
    5.5.0
    Version:
    $Revision: 12565 $ $Date: 2011-02-15 16:20:59 -0200 (Tue, 15 Feb 2011) $
    • Enum Constant Detail

      • Both

        public static final WSRPVersionFromTo Both
        Equivalent of ProducerVersion.BOTH
        Since:
        5.5.0
      • Version1

        public static final WSRPVersionFromTo Version1
        Equivalent of ProducerVersion.VERSION1
        Since:
        5.5.0
      • Version2

        public static final WSRPVersionFromTo Version2
        Equivalent of ProducerVersion.VERSION2
        Since:
        5.5.0
    • Method Detail

      • values

        public static WSRPVersionFromTo[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WSRPVersionFromTo c : WSRPVersionFromTo.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WSRPVersionFromTo valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()
        Returns this constant value.
        Returns:
        The value of this constant.
        Since:
        5.5.0
      • getLocalizableName

        public String getLocalizableName()
        Returns this constant localizable string.
        Returns:
        A localizable string.
        Since:
        5.5.0