Enum Class AccessScope

java.lang.Object
java.lang.Enum<AccessScope>
org.tentackle.model.AccessScope
All Implemented Interfaces:
Serializable, Comparable<AccessScope>, Constable

public enum AccessScope extends Enum<AccessScope>
Access scope.
Author:
harald
  • Enum Constant Details

    • PRIVATE

      public static final AccessScope PRIVATE
      private scope.
    • PACKAGE

      public static final AccessScope PACKAGE
      package scope.
    • PROTECTED

      public static final AccessScope PROTECTED
      protected scope.
    • PUBLIC

      public static final AccessScope PUBLIC
      public scope.
  • Method Details

    • values

      public static AccessScope[] 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 AccessScope 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AccessScope>