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

org.webpieces.plugin.hibernate.HibernateConfiguration Maven / Gradle / Ivy

There is a newer version: 2.1.109
Show newest version
package org.webpieces.plugin.hibernate;

public class HibernateConfiguration {

	private String filterRegExPath;
	private int filterApplyLevel;
	private boolean applyRegExPackage;

	@Deprecated
	public HibernateConfiguration(String filterRegExPath) {
		this(filterRegExPath, false, 500);
	}

	public HibernateConfiguration(String filterRegExPath, boolean applyRegExPackage) {
		this(filterRegExPath, true, 500);
	}
	
	public HibernateConfiguration(String filterRegExPath, boolean applyRegExPackage, int filterApplyLevel) {
		super();
		this.filterRegExPath = filterRegExPath;
		this.applyRegExPackage = applyRegExPackage;
		this.setFilterApplyLevel(filterApplyLevel);
	}

	public HibernateConfiguration() {
		super();
	}

	public String getFilterRegExPath() {
		return filterRegExPath;
	}

	public void setFilterRegExPath(String filterRegExPath) {
		this.filterRegExPath = filterRegExPath;
	}

	public int getFilterApplyLevel() {
		return filterApplyLevel;
	}

	public void setFilterApplyLevel(int filterApplyLevel) {
		this.filterApplyLevel = filterApplyLevel;
	}

	public boolean isApplyRegExPackage() {
		return applyRegExPackage;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy