Enum IDefinition.ModuleScope

java.lang.Object
java.lang.Enum<IDefinition.ModuleScope>
dev.metaschema.core.model.IDefinition.ModuleScope
All Implemented Interfaces:
Serializable, Comparable<IDefinition.ModuleScope>
Enclosing interface:
IDefinition

public static enum IDefinition.ModuleScope extends Enum<IDefinition.ModuleScope>
Describes the visibility of a definition to other modules.
  • Enum Constant Details

    • PRIVATE

      public static final IDefinition.ModuleScope PRIVATE
      The definition is scoped to only the defining module.
    • PUBLIC

      public static final IDefinition.ModuleScope PUBLIC
      The definition is scoped to its defining module and any importing module.
  • Method Details

    • values

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

      public static IDefinition.ModuleScope 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