org.deegree_impl.services.gazetteer.configuration
Class GazetteerConfiguration

java.lang.Object
  extended byorg.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 $

Field Summary
private  java.util.HashMap ltyp
           
private  java.lang.String name
           
private  Relation[] relations
           
 
Constructor Summary
GazetteerConfiguration(java.lang.String name, Relation[] relations)
          Creates a new instance of Configuration
 
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
 

Field Detail

ltyp

private java.util.HashMap ltyp

name

private java.lang.String name

relations

private Relation[] relations
Constructor Detail

GazetteerConfiguration

public GazetteerConfiguration(java.lang.String name,
                              Relation[] relations)
Creates a new instance of Configuration

Method Detail

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: