| 1 | |
package net.spy.digg.parsers; |
| 2 | |
|
| 3 | |
import java.io.Serializable; |
| 4 | |
import java.util.ArrayList; |
| 5 | |
|
| 6 | |
import net.spy.digg.Topic; |
| 7 | |
import net.spy.digg.TopicContainer; |
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
public class TopicContainerImpl extends ArrayList<Topic> |
| 13 | |
implements TopicContainer, Serializable { |
| 14 | |
|
| 15 | |
private final String name; |
| 16 | |
private final String shortName; |
| 17 | |
|
| 18 | |
|
| 19 | |
|
| 20 | |
|
| 21 | |
public TopicContainerImpl(String n, String sn) { |
| 22 | 288 | super(); |
| 23 | 288 | name=n; |
| 24 | 288 | shortName=sn; |
| 25 | 288 | } |
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
public String getName() { |
| 31 | 3 | return name; |
| 32 | |
} |
| 33 | |
|
| 34 | |
|
| 35 | |
|
| 36 | |
|
| 37 | |
public String getShortName() { |
| 38 | 270 | return shortName; |
| 39 | |
} |
| 40 | |
|
| 41 | |
} |