protected class FederatedDocumentChanges.FederatedChildrenChanges extends Object implements DocumentChanges.ChildrenChanges
Modifier and Type | Method and Description |
---|---|
LinkedHashMap<String,Name> |
getAppended()
Returns the (childId, childName) map of children that have been appended to underlying document.
|
Map<String,LinkedHashMap<String,Name>> |
getInsertedBeforeAnotherChild()
Returns the (insertedBeforeChildId, (childId, childName)) map of the children that have been inserted before an
existing child due to a reordering operation.
|
Set<String> |
getRemoved()
Returns the ids of the children that have been removed.
|
Map<String,Name> |
getRenamed()
Returns the (childId, newChildName) map of children that have been renamed.
|
boolean |
isEmpty()
Checks if there are any changes to the children (appended/renamed/removed/insertedBefore)
|
public boolean isEmpty()
DocumentChanges.ChildrenChanges
isEmpty
in interface DocumentChanges.ChildrenChanges
true
if there aren't any changes, false
otherwisepublic LinkedHashMap<String,Name> getAppended()
DocumentChanges.ChildrenChanges
getAppended
in interface DocumentChanges.ChildrenChanges
public Map<String,Name> getRenamed()
DocumentChanges.ChildrenChanges
getRenamed
in interface DocumentChanges.ChildrenChanges
public Map<String,LinkedHashMap<String,Name>> getInsertedBeforeAnotherChild()
DocumentChanges.ChildrenChanges
getInsertedBeforeAnotherChild
in interface DocumentChanges.ChildrenChanges
public Set<String> getRemoved()
DocumentChanges.ChildrenChanges
getRemoved
in interface DocumentChanges.ChildrenChanges
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.