1 26 27 29 package de.nava.informa.impl.basic; 30 31 import java.net.URL ; 32 import de.nava.informa.core.TextInputIF; 33 34 39 public class TextInput implements TextInputIF, java.io.Serializable { 40 41 private long id; 42 private String title; 43 private String description; 44 private String name; 45 private URL link; 46 47 public TextInput() { 48 this("[Unknown TextInput]", null, null, null); 49 } 50 51 public TextInput(String title, String description, String name, URL link) { 52 this.id = IdGenerator.getInstance().getId(); 53 this.title = title; 54 this.description = description; 55 this.name = name; 56 this.link = link; 57 } 58 59 63 public long getId() { 64 return id; 65 } 66 67 public void setId(long id) { 68 this.id = id; 69 } 70 71 public String getTitle() { 72 return title; 73 } 74 75 public void setTitle(String title) { 76 this.title = title; 77 } 78 79 public String getDescription() { 80 return description; 81 } 82 83 public void setDescription(String description) { 84 this.description = description; 85 } 86 87 public String getName() { 88 return name; 89 } 90 91 public void setName(String name) { 92 this.name = name; 93 } 94 95 public URL getLink() { 96 return link; 97 } 98 99 public void setLink(URL link) { 100 this.link = link; 101 } 102 103 } 104 | Popular Tags |