1 31 package org.blojsom.blog.database; 32 33 import org.blojsom.blog.Pingback; 34 import org.blojsom.util.BlojsomUtils; 35 36 43 public class DatabasePingback extends DatabaseTrackback implements Pingback { 44 45 protected String _sourceURI; 46 protected String _targetURI; 47 48 51 public DatabasePingback() { 52 } 53 54 59 public String getSourceURI() { 60 return _sourceURI; 61 } 62 63 68 public String getEscapedSourceURI() { 69 return BlojsomUtils.escapeString(_sourceURI); 70 } 71 72 77 public void setSourceURI(String sourceURI) { 78 _sourceURI = sourceURI; 79 } 80 81 86 public String getTargetURI() { 87 return _targetURI; 88 } 89 90 95 public String getEscapedTargetURI() { 96 return BlojsomUtils.escapeString(_targetURI); 97 } 98 99 104 public void setTargetURI(String targetURI) { 105 _targetURI = targetURI; 106 } 107 108 113 public String getType() { 114 return PINGBACK_TYPE; 115 } 116 } 117 | Popular Tags |