Package com.luciad.models.features
Class FeatureModelUpdate
java.lang.Object
com.luciad.models.features.FeatureModelUpdate
- All Implemented Interfaces:
AutoCloseable
This class represents a single update to the model.
It consists of one or more changes to one or more features.
This class can be used to make changes to a model by passing it as parameter to IFeatureModelUpdater#update.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilderthat allowsFeatureModelUpdateinstances to be created. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()List<@NotNull FeatureChange> Returns the list of feature changes that should be applied to the model.Returns the callback that should be called byIFeatureModelUpdaterto inform the caller ofIFeatureModelUpdater#updateif the update was successful or not.static FeatureModelUpdate.BuilderReturns a newFeatureModelUpdatebuilder.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
newBuilder
Returns a newFeatureModelUpdatebuilder.- Returns:
- a new
FeatureModelUpdatebuilder.
-
getFeatureChanges
Returns the list of feature changes that should be applied to the model.- Returns:
- the list of feature changes that should be applied to the model.
-
getUpdaterCallback
Returns the callback that should be called byIFeatureModelUpdaterto inform the caller ofIFeatureModelUpdater#updateif the update was successful or not.Can be
null.- Returns:
- the callback that should be called by
IFeatureModelUpdater.
-