All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.envers.internal.entities.mapper.DynamicComponentMapperSupport Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha3
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.envers.internal.entities.mapper;

/**
 * Contract for {@link PropertyMapper} implementations to expose whether they should be included
 * as a wrapper for a {@code } mapping.
 *
 * In this mapping, values are actually stored as a key-value pair in a HashMap rather than
 * them being treated as java-bean values using a setter method.
 *
 * @author Chris Cranford
 */
public interface DynamicComponentMapperSupport {
	/**
	 * Mark the property mapper that it wraps a dynamic-component.
	 */
	void markAsDynamicComponentMap();

	/**
	 * Returns whether the property mapper wraps a dynamic-component.
	 */
	boolean isDynamicComponentMap();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy