Enum MaxAccess

    • Enum Constant Detail

      • 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 Detail

      • values

        public static MaxAccess[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MaxAccess c : MaxAccess.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public @NonNull String stringLiteral()
      • forStringLiteral

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