|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.biocyc.dao.txt.AbstractBiocycElement
public abstract class AbstractBiocycElement
| Field Summary | |
|---|---|
(package private) java.util.Map |
dataMap
the attribute value |
| Constructor Summary | |
|---|---|
AbstractBiocycElement()
default constructor |
|
AbstractBiocycElement(java.util.Map dataMap)
default constructor |
|
| Method Summary | |
|---|---|
static java.util.Map |
adjustName(java.util.Map instanceMap)
adjust the name so it is unique in the whole name space. |
abstract Blockunit |
createBlockunit(java.lang.String organism,
java.lang.String username,
java.lang.String source)
create the blockunit |
static java.util.Set |
duplicatedName(java.util.Map instanceMap)
collect duplicate common name. |
java.util.Collection |
getCitationList()
get the pubmed id list |
java.util.Collection |
getCommentList()
get the comment list |
java.lang.String |
getCommonName()
get the common name |
java.util.Map |
getDataMap()
get the data map |
protected java.lang.Object |
getFirst(java.util.Map dataMap,
java.lang.Object key)
get first object in the map. |
java.util.Collection |
getSynonymList()
get the synonym list |
java.util.Collection |
getTypeList()
get the type list |
java.lang.String |
getUniqueId()
get the unique id |
static boolean |
isNumeric(java.lang.String str)
detect if a string is a integer |
Blockunit |
joinCommonProperties(Blockunit blockunit)
join common properties like synonyms, comments and references |
Blockunit |
joinConfidence(Blockunit blockunit)
|
void |
setDataMap(java.util.Map dataMap)
set the data map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.Map dataMap
| Constructor Detail |
|---|
public AbstractBiocycElement()
public AbstractBiocycElement(java.util.Map dataMap)
dataMap - the attribute value map| Method Detail |
|---|
public void setDataMap(java.util.Map dataMap)
setDataMap in interface BiocycElementdataMap - data map for all attributespublic java.lang.String getUniqueId()
getUniqueId in interface BiocycElementpublic java.lang.String getCommonName()
getCommonName in interface BiocycElement
protected java.lang.Object getFirst(java.util.Map dataMap,
java.lang.Object key)
dataMap - the mapkey - the key
public java.util.Collection getSynonymList()
getSynonymList in interface BiocycElementpublic java.util.Collection getTypeList()
getTypeList in interface BiocycElementpublic java.util.Map getDataMap()
getDataMap in interface BiocycElementpublic java.util.Collection getCommentList()
public java.util.Collection getCitationList()
public static java.util.Set duplicatedName(java.util.Map instanceMap)
instanceMap - the instance map
public static java.util.Map adjustName(java.util.Map instanceMap)
instanceMap - the instance map
public abstract Blockunit createBlockunit(java.lang.String organism,
java.lang.String username,
java.lang.String source)
BiocycElement
createBlockunit in interface BiocycElementpublic Blockunit joinCommonProperties(Blockunit blockunit)
blockunit - the blockunit to be joined.
public Blockunit joinConfidence(Blockunit blockunit)
public static boolean isNumeric(java.lang.String str)
str - string to detect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||