public class ListPropertyDiff extends PropertyDiff
PropertyDiff for a list property.| Modifier and Type | Field and Description | 
|---|---|
protected Map<Integer,PropertyDiff> | 
diffMap  | 
differenceType, propertyType| Constructor and Description | 
|---|
ListPropertyDiff(String propertyType)
Instantiates a new list property diff with a property type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
PropertyDiff | 
getDiff(int index)
Gets the diff. 
 | 
List<Integer> | 
getDiffIndexes()
Gets the diff indexes. 
 | 
Map<Integer,PropertyDiff> | 
getDiffMap()  | 
void | 
putAllDiff(ListPropertyDiff otherDiff)
Put all diffs. 
 | 
PropertyDiff | 
putDiff(int index,
       PropertyDiff diff)
Puts the diff. 
 | 
int | 
size()
Size. 
 | 
String | 
toString()  | 
getDifferenceType, getPropertyType, isComplexListType, isComplexType, isContentListType, isContentType, isListType, isScalarListType, isSimpleType, setDifferenceType, setPropertyTypeprotected Map<Integer,PropertyDiff> diffMap
public ListPropertyDiff(String propertyType)
public PropertyDiff getDiff(int index)
index - the indexpublic PropertyDiff putDiff(int index, PropertyDiff diff)
index - the indexdiff - the diffpublic void putAllDiff(ListPropertyDiff otherDiff)
otherDiff - the other diffpublic int size()
public Map<Integer,PropertyDiff> getDiffMap()
public List<Integer> getDiffIndexes()
public boolean equals(Object other)
equals in class PropertyDiffpublic String toString()
toString in class PropertyDiffCopyright © 2019 Nuxeo. All rights reserved.