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

org.hibernate.jpamodelgen.model.ImportContext Maven / Gradle / Ivy

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.jpamodelgen.model;

/**
 * @author Max Andersen
 * @author Hardy Ferentschik
 * @author Emmanuel Bernard
 */
public interface ImportContext {

	/**
	 * Add fqcn to the import list. Returns fqcn as needed in source code.
	 * Attempts to handle fqcn with array and generics references.
	 * 

* e.g. * {@code java.util.Collection} imports {@code java.util.Collection} and returns {@code Collection} * {@code org.marvel.Hulk[]} imports {@code org.marvel.Hulk} and returns {@code Hulk} * * @param fqcn Fully qualified class name of the type to import. * * @return import string */ String importType(String fqcn); String staticImport(String fqcn, String member); String generateImports(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy