Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/hibernate/test/stateless/Document.java


1   //$Id: Document.java 8057 2005-08-31 23:19:53Z oneovthafew $
2   package org.hibernate.test.stateless;
3   
4   import java.util.Date;
5   
6   /**
7    * @author Gavin King
8    */
9   public class Document {
10    
11    private String text;
12    private String name;
13    private Date lastModified;
14  
15    Document() {}
16    
17    public Document(String text, String name) {
18      this.text = text;
19      this.name = name;
20    }
21  
22    public String getName() {
23      return name;
24    }
25  
26    public void setName(String name) {
27      this.name = name;
28    }
29  
30    public String getText() {
31      return text;
32    }
33  
34    public void setText(String text) {
35      this.text = text;
36    }
37  
38    public Date getLastModified() {
39      return lastModified;
40    }
41  
42    void setLastModified(Date lastModified) {
43      this.lastModified = lastModified;
44    }
45  
46  }