Enum ImportMode

    • Enum Constant Detail

      • replaceCreate

        public static final ImportMode replaceCreate
        Replaces existing data, if there is any data available for import for the current ManagedObject and creates data that does not yet exist.
      • updateCreate

        public static final ImportMode updateCreate
        In contrast to REPLACE_CREATE, only existing data is updated or new data is created. Existing data for a ManagedObject which is not updated through imported data, will not be changed (deleted) during import.
      • update

        public static final ImportMode update
        Only update existing data. No new instances are created and nothing deleted.
      • create

        public static final ImportMode create
        Only create new instances. No updates at all.
    • Field Detail

      • REPLACE_CREATE

        public static final int REPLACE_CREATE
        Replaces existing data, if there is any data available for import for the current ManagedObject and creates data that does not yet exist.
        See Also:
        Constant Field Values
      • UPDATE_CREATE

        public static final int UPDATE_CREATE
        In contrast to REPLACE_CREATE, only existing data is updated or new data is created. Existing data for a ManagedObject which is not updated through imported data, will not be changed (deleted) during import.
        See Also:
        Constant Field Values
      • UPDATE

        public static final int UPDATE
        Only update existing data. No new instances are created and nothing deleted.
        See Also:
        Constant Field Values
      • CREATE

        public static final int CREATE
        Only create new instances. No updates at all.
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static ImportMode 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