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

org.hibernate.mapping.KeyValue Maven / Gradle / Ivy

There is a newer version: 3.6.0.Beta2
Show newest version
//$Id: KeyValue.java 6514 2005-04-26 06:37:54Z oneovthafew $
package org.hibernate.mapping;

import org.hibernate.MappingException;
import org.hibernate.dialect.Dialect;
import org.hibernate.id.IdentifierGenerator;

/**
 * Represents an identifying key of a table: the value for primary key
 * of an entity, or a foreign key of a collection or join table or
 * joined subclass table.
 * @author Gavin King
 */
public interface KeyValue extends Value {
	
	public void createForeignKeyOfEntity(String entityName);
	
	public boolean isCascadeDeleteEnabled();
	
	public boolean isIdentityColumn(Dialect dialect);
	
	public String getNullValue();
	
	public boolean isUpdateable();

	public IdentifierGenerator createIdentifierGenerator(
			Dialect dialect, 
			String defaultCatalog, 
			String defaultSchema, 
			RootClass rootClass) throws MappingException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy