/* * This file is part of Caliph & Emir. * * Caliph & Emir is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Caliph & Emir is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Caliph & Emir; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Copyright statement: * -------------------- * (c) 2002-2005 by Mathias Lux (mathias@juggle.at) * http://www.juggle.at, http://caliph-emir.sourceforge.net */ package at.lux.retrieval.clustering.suffixtree; import java.util.HashSet; /** * @author Mathias Lux, mathias@juggle.at * Date: 03.06.2004 * Time: 15:31:34 */ public class StcDocument { String id, content, title; HashSet<Integer> classification; public StcDocument(String id) { this.id = id; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String toString() { return "[" + id + "]"; } public boolean equals(Object o) { return (id.equals(o)); } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public HashSet<Integer> getClassification() { return classification; } public void setClassification(HashSet<Integer> classification) { this.classification = classification; } }