Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.api.model
Class PropertyDiff

java.lang.Object
  extended by 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?

Field Summary
static int ADDED
           
 java.util.Set<PropertyDiff> children
           
static int MODIFIED
           
 java.lang.String name
           
static int REMOVED
           
 int type
           
 java.io.Serializable value
           
 
Constructor Summary
PropertyDiff(int type, java.lang.String name)
           
PropertyDiff(int type, java.lang.String name, java.io.Serializable value)
           
 
Method Summary
 void add(java.lang.String name, java.io.Serializable value)
           
 boolean equals(java.lang.Object obj)
           
 boolean hasChildren()
           
 int hashCode()
           
 java.util.Iterator<PropertyDiff> iterator()
           
 void modify(java.lang.String name, java.io.Serializable value)
           
 void remove(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PropertyDiff

public PropertyDiff(int type,
                    java.lang.String name)

PropertyDiff

public PropertyDiff(int type,
                    java.lang.String name,
                    java.io.Serializable value)
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.