public class ListPropertyDiff extends PropertyDiff
PropertyDiff for a list property.| 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, setPropertyTypepublic 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 © 2013 Nuxeo SA. All Rights Reserved.