de.espirit.firstspirit.client.access.editor
Interface Contrastable


public interface Contrastable

Implementors of this interface enable to contrast their current value with another one.

Since:
4.2.200

Method Summary
 List<Difference> contrastWith(Language language, Object value)
          Contrasts this instance with a given value.
 

Method Detail

contrastWith

@NotNull
List<Difference> contrastWith(@Nullable
                                      Language language,
                                      @Nullable
                                      Object value)
Contrasts this instance with a given value. If the value does not have the proper type, it should be treated similar to null.

Parameters:
language - The language to contrast for - may be null for language independent editors.
value - The value to contrast with.
Returns:
The list of differences between this instance's value and the given one.
Since:
4.2.200


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480