@Component public class GeoServiceAreaAnnotatedMapping extends java.lang.Object implements IGeoServiceAreaMapping
IGeoServiceAreaMapping
. The mapping
is stored as a technical annotation of the area.
The area is saved while the mapping is set.Constructor and Description |
---|
GeoServiceAreaAnnotatedMapping() |
Modifier and Type | Method and Description |
---|---|
void |
clear(NamedArea area)
Clear the mapping for the given NamedArea
|
void |
set(NamedArea area,
GeoServiceArea geoServiceArea)
Set the mapping.
|
GeoServiceArea |
valueOf(NamedArea area)
Transforms a CDM area to an geoservice area
|
public GeoServiceArea valueOf(NamedArea area)
IGeoServiceAreaMapping
valueOf
in interface IGeoServiceAreaMapping
area
- the CDM NamedAreapublic void set(NamedArea area, GeoServiceArea geoServiceArea)
IGeoServiceAreaMapping
set
in interface IGeoServiceAreaMapping
public void clear(NamedArea area)
IGeoServiceAreaMapping
clear
in interface IGeoServiceAreaMapping
Copyright © 2007-2020 EDIT. All Rights Reserved.