Revision e6d7b501
Added by Andreas Müller almost 7 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/ITaxonNameBase.java | ||
---|---|---|
49 | 49 |
public interface ITaxonNameBase |
50 | 50 |
extends IIdentifiableEntity, IParsable, IRelated, IMatchable, Cloneable{ |
51 | 51 |
|
52 |
|
|
53 |
public NomenclaturalCode getNameType(); |
|
54 |
public void setNameType(NomenclaturalCode nameType); |
|
55 |
|
|
52 | 56 |
public Object clone(); |
53 | 57 |
|
54 | 58 |
public String generateFullTitle(); |
... | ... | |
833 | 837 |
public Set<Registration> getRegistrations(); |
834 | 838 |
|
835 | 839 |
|
840 |
/** |
|
841 |
* Returns <code>true</code> if this name is of type {@link NomenclaturalCode#ICZN} or |
|
842 |
* any sub type and is supposed to be handled via {@link IZoologicalName} |
|
843 |
*/ |
|
844 |
public boolean isZoological(); |
|
845 |
|
|
846 |
/** |
|
847 |
* Returns <code>true</code> if this name is of type {@link NomenclaturalCode#NonViral} or |
|
848 |
* any sub type and is supposed to be handled via {@link INonViralName} |
|
849 |
*/ |
|
850 |
public boolean isNonViral(); |
|
851 |
|
|
852 |
/** |
|
853 |
* Returns <code>true</code> if this name is of type {@link NomenclaturalCode#ICNAFP} or |
|
854 |
* any sub type and is supposed to be handled via {@link IBotanicalName} |
|
855 |
*/ |
|
856 |
public boolean isBotanical(); |
|
857 |
|
|
858 |
/** |
|
859 |
* Returns <code>true</code> if this name is of type {@link NomenclaturalCode#ICNCP} or |
|
860 |
* any sub type and is supposed to be handled via {@link ICultivarPlantName} |
|
861 |
*/ |
|
862 |
boolean isCultivar(); |
|
863 |
|
|
864 |
/** |
|
865 |
* Returns <code>true</code> if this name is of type {@link NomenclaturalCode#ICNB} or |
|
866 |
* any sub type and is supposed to be handled via {@link IBacterialName} |
|
867 |
*/ |
|
868 |
boolean isBacterial(); |
|
869 |
|
|
870 |
/** |
|
871 |
* Returns <code>true</code> if this name is of type {@link NomenclaturalCode#ICVCN} or |
|
872 |
* any sub type and is supposed to be handled via {@link IViralName} |
|
873 |
*/ |
|
874 |
boolean isViral(); |
|
836 | 875 |
|
837 | 876 |
} |
Also available in: Unified diff
ref #6368 remove TaxonNameBase subclasses