Enum TDAPI_COMPARISON_CHANGE_TYPES

    • Enum Constant Detail

      • COMPARISON_CHANGE_TYPE_NO_CHANGE

        public static final TDAPI_COMPARISON_CHANGE_TYPES COMPARISON_CHANGE_TYPE_NO_CHANGE

        No Change

        The value of this constant is 0

      • COMPARISON_CHANGE_TYPE_ADDED

        public static final TDAPI_COMPARISON_CHANGE_TYPES COMPARISON_CHANGE_TYPE_ADDED

        Added

        The value of this constant is 1

      • COMPARISON_CHANGE_TYPE_MODIFIED

        public static final TDAPI_COMPARISON_CHANGE_TYPES COMPARISON_CHANGE_TYPE_MODIFIED

        Modified

        The value of this constant is 2

      • COMPARISON_CHANGE_TYPE_MOVED

        public static final TDAPI_COMPARISON_CHANGE_TYPES COMPARISON_CHANGE_TYPE_MOVED

        Moved

        The value of this constant is 4

      • COMPARISON_CHANGE_TYPE_DELETED

        public static final TDAPI_COMPARISON_CHANGE_TYPES COMPARISON_CHANGE_TYPE_DELETED

        Deleted

        The value of this constant is 8

      • COMPARISON_CHANGE_TYPE_ACTUALLY_MOVED

        public static final TDAPI_COMPARISON_CHANGE_TYPES COMPARISON_CHANGE_TYPE_ACTUALLY_MOVED

        ActuallyMoved. This type used only in the server and DB. OTA client (UI) cannot receive this type while asking to get comparison change type of entity.

        The value of this constant is 20

      • COMPARISON_CHANGE_TYPE_MOVED_AND_MODIFIED

        public static final TDAPI_COMPARISON_CHANGE_TYPES COMPARISON_CHANGE_TYPE_MOVED_AND_MODIFIED

        MovedAndModified. This type used to indicate entities that were moved and modified.

        The value of this constant is 6

    • Method Detail

      • values

        public static TDAPI_COMPARISON_CHANGE_TYPES[] 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_COMPARISON_CHANGE_TYPES c : TDAPI_COMPARISON_CHANGE_TYPES.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_COMPARISON_CHANGE_TYPES 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
      • comEnumValue

        public int comEnumValue()
        Specified by:
        comEnumValue in interface com4j.ComEnum