Package com.irurueta.hermes
Class CollectionItemChange
java.lang.Object
com.irurueta.hermes.CollectionItemChange
- Direct Known Subclasses:
InsertedCollectionItemChange
,RemovedCollectionItemChange
,UpdatedCollectionItemChange
Contains information about found changes in a collection item.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CollectionItemChangeAction
Action that has been performed on the item, such as being added, removed, changed or moved within a collection. -
Constructor Summary
ConstructorsConstructorDescriptionCollectionItemChange
(CollectionItemChangeAction listItemChangeAction) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the action that has been performed on the item, such as being added, removed, changed or moved within a collection.
-
Field Details
-
action
Action that has been performed on the item, such as being added, removed, changed or moved within a collection.
-
-
Constructor Details
-
CollectionItemChange
Constructor.- Parameters:
listItemChangeAction
- action that has been performed on the item, such as being added, removed, changed or moved within a list.- Throws:
IllegalArgumentException
- if provided action is null.
-
-
Method Details
-
getAction
Gets the action that has been performed on the item, such as being added, removed, changed or moved within a collection.- Returns:
- the action that has been performed on the item.
-