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.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, setPropertyType
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 PropertyDiff
public String toString()
toString
in class PropertyDiff
public String getLeftValue()
public void setLeftValue(String leftValue)
public String getRightValue()
public void setRightValue(String rightValue)
Copyright © 2013 Nuxeo SA. All Rights Reserved.