18
18
import java.util.ArrayList;
19
19
import java.util.List;
20
import java.util.HashMap;
21
import java.util.Properties;
20
import javax.xml.bind.annotation.XmlElement;
21
import javax.xml.bind.annotation.XmlElementWrapper;
22
import javax.xml.bind.annotation.XmlRootElement;
24
24
@SuppressWarnings("serial")
25
public class Match extends ArrayList<Long>
28
private long toplevelCorpusId;
29
private HashMap<Long, Properties> corpusConfiguration;
28
@XmlElementWrapper(name="salt-ids")
29
@XmlElement(name="id")
30
private List<String> saltIDs;
33
corpusConfiguration = new HashMap<Long, Properties>();
36
public Match(List<Long> nodes)
38
corpusConfiguration = new HashMap<Long, Properties>();
42
public long getToplevelCorpusId()
44
return toplevelCorpusId;
47
public void setToplevelCorpusId(long toplevelCorpusId)
49
this.toplevelCorpusId = toplevelCorpusId;
52
public HashMap<Long, Properties> getCorpusConfiguration()
54
return corpusConfiguration;
57
public void setCorpusConfiguration(HashMap<Long, Properties> corpusConfiguration)
59
this.corpusConfiguration = corpusConfiguration;
34
saltIDs = new ArrayList<String>();
37
public void setSaltId(String id)
42
public String getSaltId(int i)
44
return saltIDs.get(i);