2008-06-21 15:24:18 -04:00
|
|
|
|
|
|
|
package net.sourceforge.filebot.web;
|
|
|
|
|
|
|
|
|
2011-11-13 13:22:50 -05:00
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
|
|
|
|
public abstract class SearchResult implements Serializable {
|
2008-06-21 15:24:18 -04:00
|
|
|
|
2009-06-13 05:53:48 -04:00
|
|
|
protected final String name;
|
2008-06-21 15:24:18 -04:00
|
|
|
|
2009-06-02 06:27:28 -04:00
|
|
|
|
2009-10-28 11:09:47 -04:00
|
|
|
protected SearchResult() {
|
|
|
|
this.name = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-06-21 15:24:18 -04:00
|
|
|
public SearchResult(String name) {
|
|
|
|
this.name = name;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
2009-10-28 11:09:47 -04:00
|
|
|
return getName();
|
2008-06-21 15:24:18 -04:00
|
|
|
}
|
2009-02-06 12:57:18 -05:00
|
|
|
|
2008-06-21 15:24:18 -04:00
|
|
|
}
|