|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.datamodel.CompositeDataHolder
public class CompositeDataHolder
Holds multiple curation sets for synteny. Should this be called SyntenyDataHolder or MultiSpeciesDataHolder? For composite curation sets just wraps it - eventually replace CurationSets compositeness with this. CompDataHolder holds a list of SpeciesComparisons (that holds 2 cur sets and a link set) rename species stuff to curation stuff CompositeDataHolder is too vague. rename MultiCurationHolder, but it also holds links
| Constructor Summary | |
|---|---|
CompositeDataHolder()
|
|
CompositeDataHolder(CurationSet curSet)
Puts composite curation sets into species comparisons |
|
CompositeDataHolder(SpeciesComparison sc)
|
|
| Method Summary | |
|---|---|
void |
addSpeciesComparison(SpeciesComparison sc)
|
CurationSet |
getCompositeCurationSet()
Should be phased out |
CompositeDataHolder |
getCompositeDataHolder()
|
CurationSet |
getCurationSet()
ApolloDataI method. |
CurationSet |
getCurationSet(int i)
Return ith species curation set as listed in species array list - this excludes curation sets for links (if thats how links are represented) rename this - needs to lose species association. |
CurationSet |
getCurationSet(java.lang.String setName)
|
CurationSet |
getCurSetFromCompCurSet(java.lang.String setName)
|
LinkSet |
getLinkSet(int i)
|
java.lang.String |
getName()
unclear if name is really needed. |
int |
getNumberOfLinkSets()
|
int |
getNumberOfSpecies()
I keep forgetting numberOfSpecies has no 'get' in front of it, so I'm inserting this standard accessor for my own sanity. |
java.lang.String |
getSpecies(int i)
|
SpeciesComparison |
getSpeciesComparison(int i)
|
boolean |
hasNonEmptyLinkSet()
|
boolean |
isCompositeDataHolder()
|
boolean |
isCurationSet()
ApolloDataI - we are not a curation set so returning false. |
boolean |
isMultiSpecies()
If we have more than one species, it answers 'true', otherwise not. |
int |
numberOfSpecies()
Number of curation sets for species - not links. |
int |
speciesCompSize()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeDataHolder()
public CompositeDataHolder(SpeciesComparison sc)
public CompositeDataHolder(CurationSet curSet)
| Method Detail |
|---|
public CurationSet getCurationSet(java.lang.String setName)
public CurationSet getCurationSet(int i)
public int numberOfSpecies()
public int getNumberOfSpecies()
public java.lang.String getSpecies(int i)
public boolean hasNonEmptyLinkSet()
public CurationSet getCurSetFromCompCurSet(java.lang.String setName)
public int getNumberOfLinkSets()
public LinkSet getLinkSet(int i)
public void addSpeciesComparison(SpeciesComparison sc)
public int speciesCompSize()
public SpeciesComparison getSpeciesComparison(int i)
public CurationSet getCompositeCurationSet()
public boolean isCurationSet()
isCurationSet in interface ApolloDataIpublic CurationSet getCurationSet()
getCurationSet in interface ApolloDataIpublic boolean isCompositeDataHolder()
isCompositeDataHolder in interface ApolloDataIpublic CompositeDataHolder getCompositeDataHolder()
getCompositeDataHolder in interface ApolloDataIpublic boolean isMultiSpecies()
isMultiSpecies in interface ApolloDataIpublic java.lang.String getName()
ApolloDataI
getName in interface ApolloDataI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||