public class SimplePropertyDiff extends PropertyDiff
PropertyDiff for a simple property.| Modifier and Type | Field and Description |
|---|---|
protected String |
leftValue |
protected String |
rightValue |
differenceType, propertyType| 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.different difference
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, setPropertyTypeprotected String rightValue
public 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 © 2019 Nuxeo. All rights reserved.