Interface SubstanceInterface
- All Superinterfaces:
AttributeValuePairSupport
,Collection<ConditionInterface>
,Comparable<SubstanceInterface>
,HelperClass
,Iterable<ConditionInterface>
,MappingDataEntity
- All Known Implementing Classes:
Substance
public interface SubstanceInterface extends MappingDataEntity, Comparable<SubstanceInterface>, Collection<ConditionInterface>, HelperClass
-
Field Summary
Fields inherited from interface de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.editing_tools.script_helper.MappingDataEntity
ANNO_DIV
-
Method Summary
Modifier and Type Method Description boolean
add(ConditionInterface e)
boolean
addAll(Collection<? extends ConditionInterface> c)
ConditionInterface
addAndMergeData(ConditionInterface seriesnew)
void
clear()
int
clearSynonyms()
SubstanceInterface
clone()
int
compareTo(SubstanceInterface o)
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
void
fillAttributeMap(Map<String,Object> attributeValueMap)
String
getAffyHit()
double
getAverage()
String
getClusterId()
Collection<ConditionInterface>
getConditions(Collection<String> validConditons)
int
getDataPointCount(boolean returnAvgValues)
Collection<MyComparableDataPoint>
getDataPoints(boolean returnAvgValues, boolean removeEmptyConditions)
String
getFormula()
String
getFuncat()
String
getInfo()
int
getMaximumSynonymeIndex(int returnIfNoSynonymes)
String
getName()
String
getNewBlast()
String
getNewBlastEval()
String
getNewBlastScore()
int
getNumberOfDifferentTimePoints()
String
getRowId()
String
getScore()
String
getSecure()
String
getSpot()
void
getStringOfChildren(StringBuilder s)
String
getSubstancegroup()
void
getSubstanceString(StringBuilder r)
double
getSum()
String
getSynonyme(int idx)
HashMap<Integer,String>
getSynonymMap()
Collection<String>
getSynonyms()
void
getXMLAttributeString(StringBuilder s)
String
getXMLstring()
boolean
isEmpty()
Iterator<ConditionInterface>
iterator()
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
void
setAffyHit(String affy_hit)
void
setAttribute(org.jdom2.Attribute attr)
void
setClusterId(String cluster_id)
boolean
setData(org.jdom2.Element experimentElement)
void
setDataOfChildElement(org.jdom2.Element childElement)
void
setDataOfChildElement(org.jdom2.Element childElement, org.jdom2.Element experimentChildElement)
void
setFormula(String formula)
void
setFuncat(String funcat)
void
setInfo(String info)
boolean
setMappedData(org.jdom2.Element e, org.jdom2.Element experimentChildElement)
Dataset, transformed for data mapping: <substance id="" name=""> <line experimentname="" genotype="WT" growthconditions="" id="1" name= "Unknown 1" treatment="" variety=""> <sample id="" measurementtool="" time="26" unit="day"> <average max="" min="" replicates="1" stddev="0.0" unit= "units">48.5313748658488</average> <data replicates="" unit="">48.5313748658488</data> </sample> ...void
setName(String name)
void
setNewBlast(String new_blast)
void
setNewBlastEval(String new_blast_e_val)
void
setNewBlastScore(String new_blast_score)
void
setRowId(String rowId)
void
setScore(String score)
void
setSecure(String secure)
void
setSpot(String spot)
void
setSubstancegroup(String substancegroup)
void
setSynonyme(int idx, String value)
void
setSynonyme(HashMap<Integer,String> hashMap)
int
size()
Object[]
toArray()
<T> T[]
toArray(T[] a)
String
toString()
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Method Details
-
setMappedData
boolean setMappedData(org.jdom2.Element e, org.jdom2.Element experimentChildElement)Dataset, transformed for data mapping: <substance id="" name=""> <line experimentname="" genotype="WT" growthconditions="" id="1" name= "Unknown 1" treatment="" variety=""> <sample id="" measurementtool="" time="26" unit="day"> <average max="" min="" replicates="1" stddev="0.0" unit= "units">48.5313748658488</average> <data replicates="" unit="">48.5313748658488</data> </sample> ... -
addAndMergeData
-
getXMLstring
String getXMLstring() -
toString
String toString() -
getXMLAttributeString
- Specified by:
getXMLAttributeString
in interfaceMappingDataEntity
-
getStringOfChildren
- Specified by:
getStringOfChildren
in interfaceMappingDataEntity
-
getDataPoints
Collection<MyComparableDataPoint> getDataPoints(boolean returnAvgValues, boolean removeEmptyConditions) -
getSynonyms
Collection<String> getSynonyms()- Returns:
- Null or eventually empty list of synonyms.
-
getSynonymMap
-
getNumberOfDifferentTimePoints
int getNumberOfDifferentTimePoints() -
clearSynonyms
int clearSynonyms() -
setSynonyme
-
getSynonyme
-
getFuncat
String getFuncat() -
getInfo
String getInfo() -
getMaximumSynonymeIndex
int getMaximumSynonymeIndex(int returnIfNoSynonymes) -
getAverage
double getAverage() -
setAttribute
void setAttribute(org.jdom2.Attribute attr)- Specified by:
setAttribute
in interfaceMappingDataEntity
-
setData
boolean setData(org.jdom2.Element experimentElement)- Specified by:
setData
in interfaceMappingDataEntity
-
setDataOfChildElement
void setDataOfChildElement(org.jdom2.Element childElement)- Specified by:
setDataOfChildElement
in interfaceMappingDataEntity
-
setDataOfChildElement
void setDataOfChildElement(org.jdom2.Element childElement, org.jdom2.Element experimentChildElement) -
getSubstanceString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SubstanceInterface>
-
setRowId
-
getRowId
String getRowId() -
setName
-
getName
String getName() -
setFuncat
-
setInfo
-
setFormula
-
getFormula
String getFormula() -
setSubstancegroup
-
getSubstancegroup
String getSubstancegroup() -
setClusterId
-
getClusterId
String getClusterId() -
setSpot
-
getSpot
String getSpot() -
setNewBlast
-
getNewBlast
String getNewBlast() -
setNewBlastEval
-
getNewBlastEval
String getNewBlastEval() -
setNewBlastScore
-
getNewBlastScore
String getNewBlastScore() -
setAffyHit
-
getAffyHit
String getAffyHit() -
setScore
-
getScore
String getScore() -
setSecure
-
getSecure
String getSecure() -
getDataPointCount
int getDataPointCount(boolean returnAvgValues) -
getSum
double getSum() -
getConditions
-
add
- Specified by:
add
in interfaceCollection<ConditionInterface>
-
iterator
Iterator<ConditionInterface> iterator()- Specified by:
iterator
in interfaceCollection<ConditionInterface>
- Specified by:
iterator
in interfaceIterable<ConditionInterface>
-
addAll
- Specified by:
addAll
in interfaceCollection<ConditionInterface>
-
clear
void clear()- Specified by:
clear
in interfaceCollection<ConditionInterface>
-
contains
- Specified by:
contains
in interfaceCollection<ConditionInterface>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<ConditionInterface>
-
isEmpty
boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<ConditionInterface>
-
remove
- Specified by:
remove
in interfaceCollection<ConditionInterface>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<ConditionInterface>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<ConditionInterface>
-
size
int size()- Specified by:
size
in interfaceCollection<ConditionInterface>
-
toArray
Object[] toArray()- Specified by:
toArray
in interfaceCollection<ConditionInterface>
-
toArray
<T> T[] toArray(T[] a)- Specified by:
toArray
in interfaceCollection<ConditionInterface>
-
fillAttributeMap
- Specified by:
fillAttributeMap
in interfaceAttributeValuePairSupport
-
setSynonyme
-
clone
SubstanceInterface clone()
-