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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemovableDifferences
protected RemovableDifferences(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Differences
getOldDeclaration
public java.lang.String getOldDeclaration()
setOldDeclaration
public void setOldDeclaration(java.lang.String oldDeclaration)
getNewDeclaration
public java.lang.String getNewDeclaration()
setNewDeclaration
public void setNewDeclaration(java.lang.String newDeclaration)
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
Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.