Enum Class MaxAccess

java.lang.Object
java.lang.Enum<MaxAccess>
org.opendaylight.yangtools.rfc6643.model.api.MaxAccess
All Implemented Interfaces:
Serializable, Comparable<MaxAccess>, Constable

@Beta public enum MaxAccess extends Enum<MaxAccess>
Maximum allowed access, as defined by RFC2578 Section 7.3.
  • Enum Constant Details

    • NOT_ACCESSIBLE

      public static final MaxAccess NOT_ACCESSIBLE
      Indicates the annotated object is an auxiliary object, as per RFC2578 Section 7.7.
    • ACCESSIBLE_FOR_NOTIFY

      public static final MaxAccess ACCESSIBLE_FOR_NOTIFY
      Indicates the annotated object is accessible only for notifications.
    • READ_ONLY

      public static final MaxAccess READ_ONLY
      Indicates that read access makes 'protocol sense', but write and create do not.
    • READ_WRITE

      public static final MaxAccess READ_WRITE
      Indicates that read and write access make 'protocol sense', but create does not.
    • READ_CREATE

      public static final MaxAccess READ_CREATE
      Indicates that read, write and create access make 'protocol sense'.
  • Method Details

    • values

      public static MaxAccess[] 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 MaxAccess 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
    • stringLiteral

      public @NonNull String stringLiteral()
    • forStringLiteral

      public static @Nullable MaxAccess forStringLiteral(@NonNull String str)