org.richfaces.cdk.model.Mergeable Maven / Gradle / Ivy
The newest version!
package org.richfaces.cdk.model;
public interface Mergeable {
/**
*
* Merge values from other object.
*
*
* @param other
*/
void merge(T other);
/**
*
* Compare object with other. For example, JSF component with same type or class is the same component.
*
*
* @param other
* @return
*/
boolean same(T other);
}