Year.java :  » ERP-CRM-Financial » OpenXava-3.0 » org » openxava » test » model » Java Open Source

Java Open Source » ERP CRM Financial » OpenXava 3.0 
OpenXava 3.0 » org » openxava » test » model » Year.java
package org.openxava.test.model;

import org.hibernate.validator.*;
import org.openxava.annotations.*;

/**
 * Not persistent, only used for create a dialog for entry active year. <p>
 * 
 * Note that is not marked as @Entity <br>
 * 
 * @author Javier Paniza
 */

public class Year {
    
  @Max(9999) @Required
  private  int year;

  public int getYear() {
    return year;
  }

  public void setYear(int year) {
    this.year = year;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.