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

panda.vfs.dao.FileItemQuery Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.vfs.dao;

import java.util.Date;

import panda.dao.query.ComparableCondition;
import panda.dao.query.EntityQuery;
import panda.dao.query.StringCondition;

/**
 */
public class FileItemQuery extends EntityQuery {
	/**
	 * Constructor
	 */
	public FileItemQuery() {
		super(DaoFileItem.class);
	}

	//----------------------------------------------------------------------
	// field conditions
	//----------------------------------------------------------------------
	/**
	 * @return condition of name
	 */
	public StringCondition name() {
		return new StringCondition(this, DaoFileItem.NAME);
	}

	/**
	 * @return condition of size
	 */
	public ComparableCondition size() {
		return new ComparableCondition(this, DaoFileItem.SIZE);
	}

	/**
	 * @return condition of date
	 */
	public ComparableCondition date() {
		return new ComparableCondition(this, DaoFileItem.DATE);
	}
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy