Enum Class ModelUpdateMode

java.lang.Object
java.lang.Enum<ModelUpdateMode>
com.luciad.edit.ModelUpdateMode
All Implemented Interfaces:
Serializable, Comparable<ModelUpdateMode>, Constable

public enum ModelUpdateMode extends Enum<ModelUpdateMode>
Enumeration that indicates when changes need to be committed to the model.

This mode is a configuration option for FeatureEditConfigurationBuilder.

This mode can have an influence on editing performance. It is not always a good idea to commit all intermediate editing changes to the model. This can lead to a large number of model updates, and for many model implementations, this can lead to a sub-optimal performance. For example: models that are backed by a database.

This enumeration allows you to specify the granularity of updates that are performed on a model.

  • Enum Constant Details

  • Method Details

    • values

      public static ModelUpdateMode[] 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 ModelUpdateMode 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