public class SimplePropertyDiff extends PropertyDiff
PropertyDiff for a simple property.| Constructor and Description | 
|---|
| SimplePropertyDiff(String propertyType)Instantiates a new simple property diff with a property type. | 
| SimplePropertyDiff(String propertyType,
                  DifferenceType differenceType,
                  String leftValue,
                  String rightValue)Instantiates a new simple property diff with a property type, difference
 type, left value and right value. | 
| SimplePropertyDiff(String propertyType,
                  String leftValue,
                  String rightValue)Instantiates a new simple property diff with a property type, the
  DifferenceType.differentdifference type, a left value and right
 value. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| String | getLeftValue() | 
| String | getRightValue() | 
| void | setLeftValue(String leftValue) | 
| void | setRightValue(String rightValue) | 
| String | toString() | 
getDifferenceType, getPropertyType, isComplexListType, isComplexType, isContentListType, isContentType, isListType, isScalarListType, isSimpleType, setDifferenceType, setPropertyTypepublic SimplePropertyDiff(String propertyType)
propertyType - the property typepublic SimplePropertyDiff(String propertyType, String leftValue, String rightValue)
DifferenceType.different difference type, a left value and right
 value.propertyType - the property typeleftValue - the left valuerightValue - the right valuepublic SimplePropertyDiff(String propertyType, DifferenceType differenceType, String leftValue, String rightValue)
propertyType - the property typedifferenceType - the difference typeleftValue - the left valuerightValue - the right valuepublic boolean equals(Object other)
equals in class PropertyDiffpublic String toString()
toString in class PropertyDiffpublic String getLeftValue()
public void setLeftValue(String leftValue)
public String getRightValue()
public void setRightValue(String rightValue)
Copyright © 2014 Nuxeo SA. All rights reserved.