Enum TDAPI_NODEATTRIBUTE

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TDAPI_NODEATTRIBUTE>

    public enum TDAPI_NODEATTRIBUTE
    extends java.lang.Enum<TDAPI_NODEATTRIBUTE>

    Tree node attributes.

    • Enum Constant Detail

      • TDOLE_NODE_SYSTEM

        public static final TDAPI_NODEATTRIBUTE TDOLE_NODE_SYSTEM

        System folder. The folder cannot be modified, and sub-folders cannot be added or removed.

        The value of this constant is 0

      • TDOLE_NODE_READONLY

        public static final TDAPI_NODEATTRIBUTE TDOLE_NODE_READONLY

        Read-only folder. Only the add and delete sub-folders operations are enabled.

        The value of this constant is 1

      • TDOLE_NODE_CHANGEABLE

        public static final TDAPI_NODEATTRIBUTE TDOLE_NODE_CHANGEABLE

        Changeable folder. All operations are enabled except delete.

        The value of this constant is 2

      • TDOLE_NODE_FULLACCESS

        public static final TDAPI_NODEATTRIBUTE TDOLE_NODE_FULLACCESS

        Full access folder. All operations are enabled.

        The value of this constant is 3

    • Method Detail

      • values

        public static TDAPI_NODEATTRIBUTE[] 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 (TDAPI_NODEATTRIBUTE c : TDAPI_NODEATTRIBUTE.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TDAPI_NODEATTRIBUTE valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null