public class ComplexPropertyDiff extends PropertyDiff
PropertyDiff for a complex property.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,PropertyDiff> |
diffMap |
differenceType, propertyType| Constructor and Description |
|---|
ComplexPropertyDiff()
Instantiates a new complex property diff with the
PropertyType.COMPLEX property type. |
ComplexPropertyDiff(String propertyType)
Instantiates a new complex property diff with a property type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
PropertyDiff |
getDiff(String item)
Gets the diff.
|
Map<String,PropertyDiff> |
getDiffMap() |
void |
putAllDiff(ComplexPropertyDiff otherDiff)
Put all diffs.
|
PropertyDiff |
putDiff(String item,
PropertyDiff diff)
Put diff.
|
String |
toString() |
getDifferenceType, getPropertyType, isComplexListType, isComplexType, isContentListType, isContentType, isListType, isScalarListType, isSimpleType, setDifferenceType, setPropertyTypeprotected Map<String,PropertyDiff> diffMap
public ComplexPropertyDiff()
PropertyType.COMPLEX property type.public ComplexPropertyDiff(String propertyType)
public PropertyDiff getDiff(String item)
item - the itempublic PropertyDiff putDiff(String item, PropertyDiff diff)
item - the itemdiff - the diffpublic void putAllDiff(ComplexPropertyDiff otherDiff)
otherDiff - the other diffpublic Map<String,PropertyDiff> getDiffMap()
public boolean equals(Object other)
equals in class PropertyDiffpublic String toString()
toString in class PropertyDiffCopyright © 2016 Nuxeo SA. All rights reserved.