com.jeantessier.diff
Class RemovableDifferences

java.lang.Object
  |
  +--com.jeantessier.diff.RemovableDifferences
All Implemented Interfaces:
java.lang.Comparable, Differences
Direct Known Subclasses:
ClassDifferences, FeatureDifferences, PackageDifferences

public abstract class RemovableDifferences
extends java.lang.Object
implements Differences, java.lang.Comparable

Documents the difference, if any, for a given programming element that can be absent in either the old or the new codebase. This includes classes, interfaces, fields, constructors, and methods.


Constructor Summary
protected RemovableDifferences(java.lang.String name)
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 boolean IsEmpty()
           
 boolean IsModified()
           
 boolean IsNew()
           
 boolean IsRemoved()
           
 java.lang.String Name()
           
 java.lang.String NewDeclaration()
           
 void NewDeclaration(java.lang.String new_declaration)
           
 java.lang.String OldDeclaration()
           
 void OldDeclaration(java.lang.String old_declaration)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jeantessier.diff.Differences
Accept
 

Constructor Detail

RemovableDifferences

protected RemovableDifferences(java.lang.String name)
Method Detail

Name

public java.lang.String Name()
Specified by:
Name in interface Differences

OldDeclaration

public java.lang.String OldDeclaration()

OldDeclaration

public void OldDeclaration(java.lang.String old_declaration)

NewDeclaration

public java.lang.String NewDeclaration()

NewDeclaration

public void NewDeclaration(java.lang.String new_declaration)

IsRemoved

public boolean IsRemoved()

IsModified

public boolean IsModified()

IsNew

public boolean IsNew()

IsEmpty

public boolean IsEmpty()
Specified by:
IsEmpty in interface Differences

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object other)
Specified by:
compareTo in interface java.lang.Comparable