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

org.jvnet.hyperjaxb3.ejb.strategy.naming.Naming Maven / Gradle / Ivy

There is a newer version: 0.6.2
Show newest version
package org.jvnet.hyperjaxb3.ejb.strategy.naming;

import org.jvnet.hyperjaxb3.ejb.strategy.mapping.Mapping;

import com.sun.tools.xjc.model.nav.NType;
import com.sun.tools.xjc.outline.ClassOutline;
import com.sun.tools.xjc.outline.FieldOutline;
import com.sun.tools.xjc.outline.Outline;

public interface Naming {
	
	public String getEntityClass(Outline outline, NType type);
	
	public String getEntityName(Outline outline, NType type);
	
	public String getPersistenceUnitName(Outline outline);

	public String getEntityTable$Name(Mapping context, ClassOutline classOutline);

	public String getEntityTable$Name(Mapping context, FieldOutline fieldOutline);

	public String getColumn$Name(Mapping context, FieldOutline fieldOutline);

	public String getJoinTable$Name(Mapping context, FieldOutline fieldOutline);

	public String getJoinColumn$Name(Mapping context,
			FieldOutline fieldOutline, FieldOutline idFieldOutline);

	public String getJoinTable$JoinColumn$Name(Mapping context,
			FieldOutline fieldOutline, FieldOutline idFieldOutline);

	public String getJoinTable$InverseJoinColumn$Name(Mapping context,
			FieldOutline fieldOutline, FieldOutline idFieldOutline);

	public String getEmbedded$Column$Name(Mapping context, FieldOutline parent,
			FieldOutline child);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy