de.danielbechler.diff.node
Class CollectionNode
java.lang.Object
de.danielbechler.diff.node.DefaultNode
de.danielbechler.diff.node.CollectionNode
- All Implemented Interfaces:
- Accessor, CanonicalAccessor, PropertyDescriptor, Node
public final class CollectionNode
- extends DefaultNode
- Author:
- Daniel Bechler
Fields inherited from interface de.danielbechler.diff.node.Node |
ROOT |
Methods inherited from class de.danielbechler.diff.node.DefaultNode |
addChild, canonicalGet, canonicalSet, canonicalUnset, get, getCategories, getChild, getChild, getChild, getChildren, getParentNode, getPathElement, getPropertyPath, getState, getType, hasChanges, hasChildren, isAdded, isChanged, isCircular, isEqualsOnly, isIgnored, isMapNode, isRemoved, isRootNode, isUntouched, matches, set, setParentNode, setState, setType, toMapNode, toString, unset, visit, visit, visitChildren |
CollectionNode
public CollectionNode(Node parent,
Accessor accessor,
Class<?> valueType)
accessorForItem
public Accessor accessorForItem(Object item)
getAdditions
public Collection<Node> getAdditions()
getRemovals
public Collection<Node> getRemovals()
getChanges
public Collection<Node> getChanges()
isCollectionNode
public boolean isCollectionNode()
- Specified by:
isCollectionNode
in interface Node
- Overrides:
isCollectionNode
in class DefaultNode
toCollectionNode
public CollectionNode toCollectionNode()
- Specified by:
toCollectionNode
in interface Node
- Overrides:
toCollectionNode
in class DefaultNode
Copyright © 2012. All Rights Reserved.