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

com.github.antelopeframework.mybatis.criterion.Criterion Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package com.github.antelopeframework.mybatis.criterion;

import java.io.Serializable;


/**
 * An object-oriented representation of a query criterion that may be used 
 * as a restriction in a Criteria query.
 * Built-in criterion types are provided by the Restrictions factory 
 * class. This interface might be implemented by application classes that 
 * define custom restriction criteria.
 *
 * @see Restrictions
 * @see Criteria
 * 
 * @author yangzhi.yzh
 */
public interface Criterion extends Serializable {
	static final TypedValue[] NO_VALUES = new TypedValue[0];
	
	String toSqlString(CriteriaQuery criteriaQuery);
	
	TypedValue[] getTypedValues(CriteriaQuery criteriaQuery);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy