Project

General

Profile

« Previous | Next » 

Revision ce490fbf

Added by Andreas Müller about 5 years ago

fix #8139 add test for valid lectotype source

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/SpecimenTypeDesignationStatus.java
130 130
        }
131 131
	}
132 132

  
133

  
134
	/**
135
	 * Returns the boolean value indicating whether <i>this</i> type designation
136
	 * status is itself "lectotype" or a kind of "lectotype" (true) or not
137
	 * (false). Returns false if <i>this</i> type designation status is null.<BR>
138
	 * A lectotype is a {@link eu.etaxonomy.cdm.model.occurrence.DerivedUnit specimen or illustration} designated as the
139
	 * nomenclatural type, when no holotype was indicated at the time of
140
	 * publication of the "type-bringing" {@link TaxonName taxon name}, when the
141
	 * holotype is found to be assigned to taxon names belonging to more than
142
	 * one {@link HomotypicalGroup homotypical group}, or as long as it is missing.
143
	 *
144
	 * @see  #LECTOTYPE()
145
	 * @see  #HOLOTYPE()
146
	 * @see  eu.etaxonomy.cdm.model.common.DefinedTermBase#getKindOf()
147
	 */
148 133
	@Transient
134
	@Override
149 135
	public boolean isLectotype(){
150 136
		if (this.equals(LECTOTYPE()) ||
151 137
				this.equals(ISOLECTOTYPE()) ||

Also available in: Unified diff