public class ContentPropertyDiff extends PropertyDiff
PropertyDiff
for a content property (blob).Constructor and Description |
---|
ContentPropertyDiff()
Instantiates a new content property diff with the
PropertyType.CONTENT property type. |
ContentPropertyDiff(ContentProperty leftContent,
ContentProperty rightContent)
Instantiates a new content property diff with the
PropertyType.CONTENT property type, the
DifferenceType.different difference type, a left content and right content. |
ContentPropertyDiff(DifferenceType differenceType)
Instantiates a new content property diff with a difference type.
|
ContentPropertyDiff(DifferenceType differenceType,
ContentProperty leftContent,
ContentProperty rightContent)
Instantiates a new content property diff with the
PropertyType.CONTENT property type, a difference type,
a left content and right content. |
ContentPropertyDiff(String propertyType,
DifferenceType differenceType,
ContentProperty leftContent,
ContentProperty rightContent)
Instantiates a new content property diff with a property type, difference type, left content and right content.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
ContentProperty |
getLeftContent() |
ContentProperty |
getRightContent() |
void |
setLeftContent(ContentProperty leftContent) |
void |
setRightContent(ContentProperty rightContent) |
String |
toString() |
getDifferenceType, getPropertyType, isComplexListType, isComplexType, isContentListType, isContentType, isListType, isScalarListType, isSimpleType, setDifferenceType, setPropertyType
public ContentPropertyDiff()
PropertyType.CONTENT
property type.propertyType
- the property typepublic ContentPropertyDiff(DifferenceType differenceType)
propertyType
- the property typepublic ContentPropertyDiff(ContentProperty leftContent, ContentProperty rightContent)
PropertyType.CONTENT
property type, the
DifferenceType.different
difference type, a left content and right content.leftContent
- the left contentrightContent
- the right contentpublic ContentPropertyDiff(DifferenceType differenceType, ContentProperty leftContent, ContentProperty rightContent)
PropertyType.CONTENT
property type, a difference type,
a left content and right content.differenceType
- the difference typeleftContent
- the left contentrightContent
- the right contentpublic ContentPropertyDiff(String propertyType, DifferenceType differenceType, ContentProperty leftContent, ContentProperty rightContent)
propertyType
- the property typedifferenceType
- the difference typeleftContent
- the left contentrightContent
- the right contentpublic boolean equals(Object other)
equals
in class PropertyDiff
public String toString()
toString
in class PropertyDiff
public ContentProperty getLeftContent()
public void setLeftContent(ContentProperty leftContent)
public ContentProperty getRightContent()
public void setRightContent(ContentProperty rightContent)
Copyright © 2015 Nuxeo SA. All rights reserved.