1 17 18 package org.objectweb.jac.samples.photos; 19 20 import java.util.Date ; 21 22 23 26 public class Comment { 27 30 Person author; 31 public Person getAuthor() { 32 return author; 33 } 34 public void setAuthor(Person author) { 35 this.author = author; 36 } 37 38 41 String comment; 42 public String getComment() { 43 return comment; 44 } 45 public void setComment(String comment) { 46 this.comment = comment; 47 } 48 49 Date date = new Date (); 50 public Date getDate() { 51 return date; 52 } 53 54 57 Photo photo; 58 public Photo getPhoto() { 59 return photo; 60 } 61 public void setPhoto(Photo photo) { 62 this.photo = photo; 63 } 64 } 65 | Popular Tags |