Project

General

Profile

Revision fe4e29da

IDfe4e29da88b3933ba47d578708744d50139d781a
Parent 4647f17a
Child 3640696a

Added by Andreas Müller over 7 years ago

Java doc

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/location/NamedArea.java
51 51
import eu.etaxonomy.cdm.model.common.Representation;
52 52
import eu.etaxonomy.cdm.model.common.TermVocabulary;
53 53
import eu.etaxonomy.cdm.model.common.TimePeriod;
54
import eu.etaxonomy.cdm.model.description.Distribution;
54 55
import eu.etaxonomy.cdm.model.media.Media;
55 56

  
56 57
/**
......
334 335

  
335 336
// ************** Hierarchie List ****************************
336 337

  
337
/*	public boolean equals(NamedArea area){
338
        boolean result = false;
339
        if (this.getLabel().toString().compareTo(area.getLabel().toString()) == 0){
340
            result = true;
341
        }
342
        return result;
343
    }*/
344

  
345
//	public int compareTo(NamedArea area){
346
//		return getLabel().compareTo(area.getLabel());
347
//	}
348

  
349

  
350

  
351 338
    /**
352 339
     * This method returns a sorted tree structure which sorts areas by it's level and within the same level
353 340
     * alphabetically (TODO to be tested).
......
355 342
     * This way also areas that have children belonging to different levels can be handled.<BR>
356 343
     * The root node is always an empty area node which holds the list of top level areaLevels.
357 344
     * AreaLevels with no level defined are handled as if they have a separate level (level="null").
345
     * 
346
     * There is a somehow similar implementation in {@link eu.etaxonomy.cdm.api.service.DistributionTree}
358 347
     *
359 348
     * @param areaList
360 349
     * @return

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)