/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.compensation.operation;
import org.hibernate.ogm.dialect.spi.GridDialect;
import org.hibernate.ogm.model.key.spi.AssociationKey;
import org.hibernate.ogm.model.spi.Association;
/**
* Represents one execution of
* {@link GridDialect#insertOrUpdateAssociation(AssociationKey, Association, org.hibernate.ogm.dialect.spi.AssociationContext)}.
*
* @author Gunnar Morling
*/
public interface InsertOrUpdateAssociation extends GridDialectOperation {
AssociationKey getAssociationKey();
Association getAssociation();
}