Module jonix.common

Enum Class Proximitys

java.lang.Object
java.lang.Enum<Proximitys>
com.tectonica.jonix.common.codelist.Proximitys
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<Proximitys>, Constable

public enum Proximitys extends Enum<Proximitys> implements OnixCodelist
Enum that corresponds to ONIX Codelist 215

Description: Proximity

See Also:
  • Enum Constant Details

    • Less_than

      public static final Proximitys Less_than
    • Not_more_than

      public static final Proximitys Not_more_than
    • Exactly

      public static final Proximitys Exactly
      The supplier's true figure, or at least a best estimate expected to be within 10% of the true figure (ie a quoted figure of 100 could in fact be anything between 91 and 111)
    • Approximately

      public static final Proximitys Approximately
      Generally interpreted as within 25% of the true figure (ie a quoted figure of 100 could in fact be anything between 80 and 133). The supplier may introduce a deliberate approximation to reduce the commercial sensitivity of the figure
    • About

      public static final Proximitys About
      Generally interpreted as within a factor of two of the true figure (ie a quoted figure of 100 could in fact be anything between 50 and 200). The supplier may introduce a deliberate approximation to reduce the commercial sensitivity of the figure
    • Not_less_than

      public static final Proximitys Not_less_than
    • More_than

      public static final Proximitys More_than
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static Proximitys[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Proximitys valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static Proximitys byCode(String code)
    • byCodeOptional

      public static Optional<Proximitys> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)