public class TaxonCreator extends java.lang.Object implements IEntityCreator<eu.etaxonomy.cdm.model.taxon.TaxonBase>
Constructor and Description |
---|
TaxonCreator() |
Modifier and Type | Method and Description |
---|---|
eu.etaxonomy.cdm.model.taxon.TaxonBase |
createEntity(java.lang.Object key,
java.lang.String text)
createEntity
|
eu.etaxonomy.cdm.model.taxon.TaxonBase |
createEntity(java.lang.String text)
createEntity
|
java.util.Map<java.lang.Object,java.lang.String> |
getKeyLabelPairs()
Get a map of keys for all objects that can be created by this entity creator
along with their string representations.
|
boolean |
savesEntity()
Return a flag indicating whether this creator also saves the entities
|
public eu.etaxonomy.cdm.model.taxon.TaxonBase createEntity(java.lang.String text)
IEntityCreator
createEntity
createEntity
in interface IEntityCreator<eu.etaxonomy.cdm.model.taxon.TaxonBase>
text
- a String
object.public eu.etaxonomy.cdm.model.taxon.TaxonBase createEntity(java.lang.Object key, java.lang.String text)
IEntityCreator
createEntity
createEntity
in interface IEntityCreator<eu.etaxonomy.cdm.model.taxon.TaxonBase>
key
- a Object
object.text
- a String
object.public java.util.Map<java.lang.Object,java.lang.String> getKeyLabelPairs()
IEntityCreator
getKeyLabelPairs
in interface IEntityCreator<eu.etaxonomy.cdm.model.taxon.TaxonBase>
Map
object.public boolean savesEntity()
IEntityCreator
savesEntity
in interface IEntityCreator<eu.etaxonomy.cdm.model.taxon.TaxonBase>
Copyright © 2007-2018. All Rights Reserved.