/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2005-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * 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. */ package org.geotools.referencing.factory.epsg; /** * Private structure for {@link DirectEpsgFactory#createBursaWolfParameters} usage. * * @source $URL$ * @version $Id$ * @author Martin Desruisseaux (IRD) */ final class BursaWolfInfo { /** CO.COORD_OP_CODE */ final String operation; /** CO.COORD_OP_METHOD_CODE */ final int method; /** CRS1.DATUM_CODE */ final String target; /** Fill a structure with the specified values. */ BursaWolfInfo(final String operation, final int method, final String target) { this.operation = operation; this.method = method; this.target = target; } /** * MUST returns the operation code. This is required by {@link DirectEpsgFactory#sort}. */ public String toString() { return operation; } }