eu.etaxonomy.cdm.io.specimen
Class UnitsGatheringArea

java.lang.Object
  extended by eu.etaxonomy.cdm.io.specimen.UnitsGatheringArea

public class UnitsGatheringArea
extends Object

Author:
p.kelbert

Constructor Summary
UnitsGatheringArea(List<String> namedAreaList)
           
UnitsGatheringArea(String isoCountry, String country, ICdmApplicationConfiguration cdmApp)
          Constructor.
 
Method Summary
 NamedArea getArea()
           
 ArrayList<NamedArea> getAreas()
           
 void setAreaNames(List<String> namedAreas)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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 code
fullName: - the country's full name
app: - the CDM application controller


Copyright © 2007-2013 EDIT. All Rights Reserved.