/* * Simple Java Dict Client (RFC2229) * * $Id$ * * Copyright Metaparadigm Pte. Ltd. 2004. * Michael Clark <michael@metaparadigm.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public (LGPL) * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details: http://www.gnu.org/ * */ package com.metaparadigm.dict; public class Database { private String database; private String description; public String getDatabase() { return database; } public String getDescription() { return description; } public Database(String database, String description) { this.database = database; this.description = description; } @Override public String toString() { return "database: " + database + " \"" + description + "\""; } }