org.nuxeo.ecm.core.api.model
Class PropertyDiff
java.lang.Object
org.nuxeo.ecm.core.api.model.PropertyDiff
- All Implemented Interfaces:
- java.lang.Iterable<PropertyDiff>
public class PropertyDiff
- extends java.lang.Object
- implements java.lang.Iterable<PropertyDiff>
- Author:
- Bogdan Stefanescu
TODO is this really needed?
Constructor Summary |
PropertyDiff(int type,
java.lang.String name)
|
PropertyDiff(int type,
java.lang.String name,
java.io.Serializable value)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
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 java.io.Serializable value
name
public java.lang.String name
children
public final java.util.Set<PropertyDiff> children
PropertyDiff
public PropertyDiff(int type,
java.lang.String name)
PropertyDiff
public PropertyDiff(int type,
java.lang.String name,
java.io.Serializable value)
hasChildren
public boolean hasChildren()
modify
public void modify(java.lang.String name,
java.io.Serializable value)
remove
public void remove(java.lang.String name)
add
public void add(java.lang.String name,
java.io.Serializable value)
iterator
public java.util.Iterator<PropertyDiff> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<PropertyDiff>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2010 Nuxeo SAS. All Rights Reserved.