Package com.luciad.edit
Enum Class ModelUpdateMode
- All Implemented Interfaces:
Serializable
,Comparable<ModelUpdateMode>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the model will be updated for any change, includingChangeStatus#InProgress
changes to aFeature
.Indicates that the model will be updated for major changes, meaning only changes that are marked asChangeStatus#InProgressKeyPoint
orChangeStatus#Finished
. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelUpdateMode
Returns the enum constant of this class with the specified name.static ModelUpdateMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OnAnyChange
Indicates that the model will be updated for any change, includingChangeStatus#InProgress
changes to aFeature
. -
OnMajorChanges
Indicates that the model will be updated for major changes, meaning only changes that are marked asChangeStatus#InProgressKeyPoint
orChangeStatus#Finished
. -
OnEditFinished
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-