Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.diff.model
Class PropertyDiff

java.lang.Object
  extended by org.nuxeo.ecm.diff.model.PropertyDiff
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ComplexPropertyDiff, ContentPropertyDiff, ListPropertyDiff, SimplePropertyDiff

public class PropertyDiff
extends Object
implements Serializable

Representation of a property (field) diff.

Since:
5.6
Author:
Antoine Taillefer
See Also:
Serialized Form

Constructor Summary
PropertyDiff()
           
 
Method Summary
 boolean equals(Object other)
           
 DifferenceType getDifferenceType()
           
 String getPropertyType()
           
 boolean isComplexListType()
          Checks if is complex list type.
 boolean isComplexType()
          Checks if is complex type.
 boolean isContentListType(String propertyType)
          Checks if is content list type.
 boolean isContentType()
          Checks if is content type.
 boolean isListType()
          Checks if is list type.
 boolean isScalarListType()
          Checks if is scalar list type.
 boolean isSimpleType()
          Checks if is simple type.
 void setDifferenceType(DifferenceType differenceType)
           
 void setPropertyType(String propertyType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDiff

public PropertyDiff()
Method Detail

isSimpleType

public boolean isSimpleType()
Checks if is simple type.

Returns:
true, if is simple type

isListType

public boolean isListType()
Checks if is list type.

Returns:
true, if is list type

isScalarListType

public boolean isScalarListType()
Checks if is scalar list type.

Returns:
true, if is scalar list type

isComplexListType

public boolean isComplexListType()
Checks if is complex list type.

Returns:
true, if is complex list type

isContentListType

public boolean isContentListType(String propertyType)
Checks if is content list type.

Returns:
true, if is content list type

isComplexType

public boolean isComplexType()
Checks if is complex type.

Returns:
true, if is complex type

isContentType

public boolean isContentType()
Checks if is content type.

Returns:
true, if is content type

getPropertyType

public String getPropertyType()

setPropertyType

public void setPropertyType(String propertyType)

getDifferenceType

public DifferenceType getDifferenceType()

setDifferenceType

public void setDifferenceType(DifferenceType differenceType)

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.