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

org.hibernate.graph.spi.EntityGraphImplementor Maven / Gradle / Ivy

There is a newer version: 6.5.0.CR2
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.graph.spi;

import javax.persistence.EntityGraph;
import javax.persistence.metamodel.EntityType;

/**
 * @author Steve Ebersole
 */
public interface EntityGraphImplementor extends EntityGraph, GraphNodeImplementor {
	boolean appliesTo(String entityName);

	boolean appliesTo(EntityType entityType);

	/**
	 * Make a mutable copy of this entity graph
	 *
	 * @return The immutable copy
	 */
	EntityGraphImplementor makeMutableCopy();

	/**
	 * Make an immutable copy of this entity graph, using the given name.
	 *
	 * @param name The name to apply to the immutable copy
	 *
	 * @return The immutable copy
	 */
	EntityGraphImplementor makeImmutableCopy(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy