1 26 27 29 package de.nava.informa.impl.hibernate; 30 31 import java.net.URL ; 32 import de.nava.informa.core.TextInputIF; 33 34 42 public class TextInput implements TextInputIF, java.io.Serializable { 43 44 private int id; 45 private String title; 46 private String description; 47 private String name; 48 private URL link; 49 50 public TextInput() { 51 this("[Unknown TextInput]", null, null, null); 52 } 53 54 public TextInput(String title, String description, String name, URL link) { 55 this.title = title; 56 this.description = description; 57 this.name = name; 58 this.link = link; 59 } 60 61 67 public int getIntId() { 68 return id; 69 } 70 71 public void setIntId(int id) { 72 this.id = id; 73 } 74 75 public long getId() { 76 return id; 77 } 78 79 public void setId(long longid) { 80 this.id = (int) longid; 81 } 82 83 87 92 public String getTitle() { 93 return title; 94 } 95 96 public void setTitle(String title) { 97 this.title = title; 98 } 99 100 104 public String getDescription() { 105 return description; 106 } 107 108 public void setDescription(String description) { 109 this.description = description; 110 } 111 112 116 public String getName() { 117 return name; 118 } 119 120 public void setName(String name) { 121 this.name = name; 122 } 123 124 128 public URL getLink() { 129 return link; 130 } 131 132 public void setLink(URL link) { 133 this.link = link; 134 } 135 136 } 137 | Popular Tags |