Package st.orm

Enum Class ResolveScope

All Implemented Interfaces:
Serializable, Comparable<ResolveScope>, Constable

public enum ResolveScope extends Enum<ResolveScope>
Enumeration of the different modes for resolving an alias.
Since:
1.1
  • Enum Constant Details

    • CASCADE

      public static final ResolveScope CASCADE
      Enforce unambiguity by requiring the alias to be resolved uniquely.
    • INNER

      public static final ResolveScope INNER
      Resolve the alias locally, i.e. within the current scope.
    • OUTER

      public static final ResolveScope OUTER
      Resolve the alias from the outer scope(s) only.e
  • Method Details

    • values

      public static ResolveScope[] 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 ResolveScope 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