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

com.jpattern.orm.query.NullNameSolver Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package com.jpattern.orm.query;

import com.jpattern.orm.exception.OrmException;

/**
 * 
 * @author Francesco Cina
 *
 * 19/giu/2011
 */
public class NullNameSolver implements INameSolver {

	/**
	 * 
	 */
	

	@Override
	public String solvePropertyName(String property) {
		return property;
	}

	@Override
	public void register(Class clazz) {
	}

	@Override
	public void register(Class clazz, String alias) {
	}

	@Override
	public String alias(Class clazz) throws OrmException {
		return "";
	}

	@Override
	public String solvePropertyName(String property, String defaultValue) throws OrmException {
		return defaultValue;
	}

	@Override
	public String solvePropertyNameWithoutAlias(String property) throws OrmException {
		return "";
	}

	@Override
	public void alwaysResolveWithoutAlias(boolean resolveWithoutAlias) {
	}

	@Override
	public boolean getAlwaysResolveWithoutAlias() {
		return false;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy