1 20 21 package org.apache.ojb.broker; 22 23 import java.io.Serializable ; 24 25 public class ProjectUnidirectional implements Serializable 26 { 27 private int id; 28 private String title; 29 private String description; 30 31 32 public ProjectUnidirectional() 33 { 34 } 35 36 public ProjectUnidirectional(int pId, String pTitle, String pDescription) 37 { 38 id = pId; 39 title = pTitle; 40 description = pDescription; 41 } 42 43 44 public int getId() 45 { 46 return id; 47 } 48 49 public void setId(int id) 50 { 51 this.id = id; 52 } 53 54 public String getTitle() 55 { 56 return title; 57 } 58 59 public void setTitle(String title) 60 { 61 this.title = title; 62 } 63 64 public String getDescription() 65 { 66 return description; 67 } 68 69 public void setDescription(String description) 70 { 71 this.description = description; 72 } 73 74 public String toString() 75 { 76 String result = title; 77 result += " "; 78 79 return result; 80 } 81 } 82 | Popular Tags |