org.faktorips.runtime
Interface IDeltaSupport


public interface IDeltaSupport

Interface indicating that it is possible to compute a delta between two instances of the class implementing this interface.

Author:
Jan Ortmann

Method Summary
 IModelObjectDelta computeDelta(IModelObject otherObject, IDeltaComputationOptions options)
          Computes a delta between this object and the given other object.
 

Method Detail

computeDelta

IModelObjectDelta computeDelta(IModelObject otherObject,
                               IDeltaComputationOptions options)
Computes a delta between this object and the given other object.

Parameters:
otherObject - The object this one is compared too.
Throws:
ClassCastException - if otherObject is not an instance of the same class as 'this'.
NullPointerException - if otherObject is null.


Copyright © 2015. All rights reserved.