panda.vfs.dao.FileItemQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
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);
}
}