taxonDescriptions.add(description1);
Distribution distribution1 = Distribution.NewInstance(Country.GERMANY(), null);
description1.addElement(distribution1);
- Distribution distribution2 = Distribution.NewInstance(Country.FRANCEFRENCHREPUBLIC(), null);
+ Distribution distribution2 = Distribution.NewInstance(Country.FRANCE(), null);
distribution2.setFeature(Feature.COMMON_NAME());
description1.addElement(distribution2);
public static final Country FALKLANDISLANDS () { return (Country)termMap.get(Country.uuidFalklandIslands );}
public static final Country FIJIREPUBLICOFTHEFIJIISLANDS () { return (Country)termMap.get(Country.uuidFijiRepublicoftheFijiIslands );}
public static final Country FINLANDREPUBLICOF () { return (Country)termMap.get(Country.uuidFinlandRepublicof );}
- public static final Country FRANCEFRENCHREPUBLIC () { return (Country)termMap.get(Country.uuidFranceFrenchRepublic );}
+ public static final Country FRANCE () { return (Country)termMap.get(Country.uuidFranceFrenchRepublic );}
public static final Country FRENCHGUIANA () { return (Country)termMap.get(Country.uuidFrenchGuiana );}
public static final Country FRENCHPOLYNESIA () { return (Country)termMap.get(Country.uuidFrenchPolynesia );}
public static final Country FRENCHSOUTHERNTERRITORIES () { return (Country)termMap.get(Country.uuidFrenchSouthernTerritories );}
@Test
public void testGetSetCountry() {
assertEquals("Country must be same", Country.GERMANY(), specimenFacade.getCountry());
- specimenFacade.setCountry(Country.FRANCEFRENCHREPUBLIC());
- assertEquals("New country must be France", Country.FRANCEFRENCHREPUBLIC(), specimenFacade.getCountry());
+ specimenFacade.setCountry(Country.FRANCE());
+ assertEquals("New country must be France", Country.FRANCE(), specimenFacade.getCountry());
}
/**
typesToIndex.add(TaxonRelationship.class);\r
\r
germany = Country.GERMANY();\r
- france = Country.FRANCEFRENCHREPUBLIC();\r
+ france = Country.FRANCE();\r
russia = Country.RUSSIANFEDERATION();\r
canada = Country.CANADA();\r
\r