View Javadoc

1   package com.germinus.merlin.model.assignment;
2   
3   import javax.persistence.Column;
4   import javax.persistence.DiscriminatorValue;
5   import javax.persistence.Entity;
6   
7   @Entity
8   @DiscriminatorValue("Upload a Single File")
9   public class AssignmentUploadASingleFile extends AssignmentInteractive  {
10  
11  	/**
12  	 * @author Jesús Rodríguez, Germinus XXI
13  	 * @since 1.0
14  	*/
15  	private static final long serialVersionUID = 1L;
16  	private Boolean allowNotes;
17  	private String maxSize;
18  	public AssignmentUploadASingleFile() {
19  		super();
20  	}
21  	@Column(name="allowNotes",nullable = true)
22  	public Boolean getAllowNotes() {
23  		return allowNotes;
24  	}
25  	@Column(name="fileMaxSize",nullable = true)
26  	public String getMaxSize() {
27  		return maxSize;
28  	}
29  	public void setAllowNotes(Boolean allowNotes) {
30  		this.allowNotes = allowNotes;
31  	}
32  	public void setMaxSize(String maxSize) {
33  		this.maxSize = maxSize;
34  	}
35  	
36  }