- All Implemented Interfaces:
Abstract implementation of
IDiffthat can be subclassed by clients.
Field SummaryModifier and TypeFieldDescription
static final intConstant (bit mask) that defines the area of the status that is reserved for use by this abstract class for encoding the kind of the diff.
Method SummaryModifier and TypeMethodDescription
getKind()Returns the kind of this diff.
getPath()Returns the full, absolute path of the object to which the diff applies with respect to the model root.
final intReturn the status of the diff node.
hashCode()Return a string that describes the difference represented by this node.
(IPath path, int status)Create a diff node.
path- the path of the diff
status- the status of the diff. The kind should be encoded in the status along with any additional flags required by a subclass.
getPathpublic IPath getPath()Returns the full, absolute path of the object to which the diff applies with respect to the model root.
Note: the returned path never has a trailing separator.
getKindpublic int getKind()Returns the kind of this diff. Normally, one of
getStatuspublic final int getStatus()Return the status of the diff node. The status is a bit field that contains the kind and any additional status information that subclasses need to encode. The first byte of the status is reserved for use by this abstract class as indicated by the
- the status of the diff node
toDiffStringpublic String toDiffString()Return a string that describes the difference represented by this node.
hashCodepublic int hashCode()
equalspublic boolean equals