Java 类org.hibernate.annotations.Check 实例源码

项目:C1_ParknShop    文件:ItemFinder.java   
@Check(constraints = "pageNum null and pageNum > 1, the first page is page 1")
@Nonnull
public Fetch page(Integer pageNum) {
    this.pageNumber = pageNum;
    return this;
}