org.deegree_impl.services.gazetteer.configuration
Class GazetteerConfiguration
java.lang.Object
org.deegree_impl.services.gazetteer.configuration.GazetteerConfiguration
- public class GazetteerConfiguration
- extends java.lang.Object
- Since:
- 1.1
- Version:
- $Revision: 1.2 $, 1.0. $Revision: 1.2 $, $Date: 2004/03/26 11:19:31 $
- Author:
- Andreas Poth, last edited by: $Author: poth $
Method Summary |
Relation |
getRelation(java.lang.String sourceLocationType,
java.lang.String targetLocationType)
returns the relation between the two passed location types. |
Relation[] |
getRelations()
returns a list of all relations defined for a gazetteer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ltyp
private java.util.HashMap ltyp
name
private java.lang.String name
relations
private Relation[] relations
GazetteerConfiguration
public GazetteerConfiguration(java.lang.String name,
Relation[] relations)
- Creates a new instance of Configuration
getRelations
public Relation[] getRelations()
- returns a list of all relations defined for a gazetteer
- Returns:
getRelation
public Relation getRelation(java.lang.String sourceLocationType,
java.lang.String targetLocationType)
- returns the relation between the two passed location types. If no relation
is defined null will be returned
- Parameters:
sourceLocationType
- targetLocationType
-
- Returns: