org.hibernate.graph.spi.EntityGraphImplementor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
The core O/RM functionality as provided by Hibernate
The 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);
}