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

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

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