org.nuxeo.ecm.core.api.model
Class PropertyDiff
java.lang.Object
org.nuxeo.ecm.core.api.model.PropertyDiff
- All Implemented Interfaces:
- Iterable<PropertyDiff>
public class PropertyDiff
- extends Object
- implements Iterable<PropertyDiff>
- Author:
- Bogdan Stefanescu
TODO is this really needed?
MODIFIED
public static final int MODIFIED
- See Also:
- Constant Field Values
ADDED
public static final int ADDED
- See Also:
- Constant Field Values
REMOVED
public static final int REMOVED
- See Also:
- Constant Field Values
type
public int type
value
public Serializable value
name
public String name
children
public final Set<PropertyDiff> children
PropertyDiff
public PropertyDiff(int type,
String name)
PropertyDiff
public PropertyDiff(int type,
String name,
Serializable value)
hasChildren
public boolean hasChildren()
modify
public void modify(String name,
Serializable value)
remove
public void remove(String name)
add
public void add(String name,
Serializable value)
iterator
public Iterator<PropertyDiff> iterator()
- Specified by:
iterator
in interface Iterable<PropertyDiff>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 Nuxeo SAS. All Rights Reserved.