1 package org.javabb.vo; 2 3 import java.io.Serializable ; 4 5 20 21 22 27 public class BadWord extends VOObject implements Serializable { 28 29 private String word; 30 31 private String replacement; 32 33 36 public BadWord() { 37 } 39 40 43 public BadWord(Long id) { 44 setId(id); 45 } 46 47 51 public BadWord(String word, String replacement) { 52 this(null, word, replacement); 53 } 54 55 60 public BadWord(Long id, String word, String replacement) { 61 setId(id); 62 setWord(word); 63 setReplacement(replacement); 64 } 65 66 69 public Long getIdBadWord() { 70 return getId(); 71 } 72 73 76 public void setIdBadWord(Long id) { 77 this.setId(id); 78 } 79 80 83 public String getReplacement() { 84 return replacement; 85 } 86 87 90 public void setReplacement(String replacement) { 91 this.replacement = replacement; 92 } 93 94 97 public String getWord() { 98 return word; 99 } 100 101 104 public void setWord(String word) { 105 this.word = word; 106 } 107 } 108 | Popular Tags |