Project

General

Profile

Revision 9d567be5

ID9d567be5423ba1498249de39e8031c7e2a192001
Parent 17e6a14c
Child 5abd7a84

Added by Andreas Müller about 5 years ago

Add isInfraGenericButNotSpeciesGroup() method to Rank

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/Rank.java
504 504
     *
505 505
     * @see  #isSupraGeneric()
506 506
     * @see  #isGenus()
507
     * @see  #isInfraGenericButNotSpeciesGroup()
507 508
     * @see  #isSpeciesAggregate()
508 509
     * @see  #isSpecies()
509 510
     * @see  #isInfraSpecific()
......
514 515
    }
515 516

  
516 517
    /**
518
     * Returns the boolean value indicating whether <i>this</i> rank is higher than the
519
     * species aggregate/group rank and lower than the genus rank (true) or not (false).
520
     * Returns false if <i>this</i> rank is null.
521
     *
522
     * @see  #isSupraGeneric()
523
     * @see  #isGenus()
524
     * @see  #isInfraGeneric()
525
     * @see  #isSpeciesAggregate()
526
     * @see  #isSpecies()
527
     * @see  #isInfraSpecific()
528
     */
529
    @Transient
530
    public boolean isInfraGenericButNotSpeciesGroup(){
531
        return this.rankClass.equals(RankClass.Infrageneric) ;
532
    }
533

  
534
    /**
517 535
     * Returns true if this rank indicates a rank that aggregates species
518 536
     * like species aggregates or species groups, false otherwise.
519 537
     * @return

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)