eu.etaxonomy.cdm.io.specimen
Class UnitsGatheringArea
java.lang.Object
eu.etaxonomy.cdm.io.specimen.UnitsGatheringArea
public class UnitsGatheringArea
- extends Object
- Author:
- p.kelbert
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnitsGatheringArea
public UnitsGatheringArea(String isoCountry,
String country,
ICdmApplicationConfiguration cdmApp)
- Constructor.
Set/create country.
Saves the area to the application
- Parameters:
isoCountry - (try to used the isocode first)country - app -
UnitsGatheringArea
public UnitsGatheringArea(List<String> namedAreaList)
getArea
public NamedArea getArea()
getAreas
public ArrayList<NamedArea> getAreas()
setAreaNames
public void setAreaNames(List<String> namedAreas)
setCountry
public void setCountry(String iso,
String fullName,
ICdmApplicationConfiguration cdmApp)
- Set the current Country
Search in the DB if the isoCode is known
If not, search if the country name is in the DB
If not, create a new Label with the Level Country
- Parameters:
iso: - the country iso codefullName: - the country's full nameapp: - the CDM application controller
Copyright © 2007-2013 EDIT. All Rights Reserved.