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

org.hibernate.boot.jaxb.hbm.spi.ResultSetMappingBindingDefinition Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
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.boot.jaxb.hbm.spi;

import java.util.List;

/**
 * @author Steve Ebersole
 */
public interface ResultSetMappingBindingDefinition {
	/**
	 * The ResultSet mapping name
	 *
	 * @return The name.
	 */
	String getName();

	/**
	 * Get the JAXB mappings for each defined value return in the ResultSet mapping.
	 *
	 * Needs to be a "grab bag", as opposed to individual Lists per return type, in
	 * order to maintain the defined order.  And atm there is (unfortunately) not
	 * a common type for all the JAXB return mappings.  But the list elements
	 * will be one of:
    *
  • {@link JaxbHbmNativeQueryScalarReturnType}
  • *
  • {@link JaxbHbmNativeQueryReturnType}
  • *
  • {@link JaxbHbmNativeQueryJoinReturnType}
  • *
  • {@link JaxbHbmNativeQueryCollectionLoadReturnType}
  • *
* * @return The value return JAXB mappings. */ List getValueMappingSources(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy