|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.datamodel.Link
public class Link
| Constructor Summary | |
|---|---|
Link(FeaturePairI wrappedFeatPair)
|
|
Link(SeqFeatureI link1Feature,
SeqFeatureI link2Feature,
boolean hasSpec,
boolean hasPercentIdentity)
|
|
| Method Summary | |
|---|---|
int |
getHigh1()
|
int |
getHigh2()
|
SeqFeatureI |
getLinkedSpeciesFeature(SeqFeatureI feat)
If feat is not part of link - neither species1 nor species2 feature - then return null. |
int |
getLow1()
|
int |
getLow2()
|
java.lang.String |
getName1()
|
java.lang.String |
getName2()
|
double |
getPercentIdentity()
|
SeqFeatureI |
getSpeciesFeature1()
|
SeqFeatureI |
getSpeciesFeature2()
|
int |
getStrand1()
|
int |
getStrand2()
|
java.lang.String |
getType()
return null if no type |
boolean |
hasNames()
Returns true if query and hit have names |
boolean |
hasPercentIdentity()
Return false if species feat has no score or if its score is no perc id |
boolean |
hasSpeciesFeatures()
|
boolean |
isForwardStrand1()
|
boolean |
isForwardStrand2()
|
void |
setSpeciesFeature1(SeqFeatureI species1)
set species1 feature if different than link1 feature (often they are the same) |
void |
setSpeciesFeature2(SeqFeatureI species2)
|
void |
setTypeIsFeat1(boolean state)
If state is true use species feature 1 for type, false use spec feat 2 link type is used by gui for color/vis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Link(SeqFeatureI link1Feature,
SeqFeatureI link2Feature,
boolean hasSpec,
boolean hasPercentIdentity)
public Link(FeaturePairI wrappedFeatPair)
| Method Detail |
|---|
public void setSpeciesFeature1(SeqFeatureI species1)
public void setSpeciesFeature2(SeqFeatureI species2)
public void setTypeIsFeat1(boolean state)
public java.lang.String getType()
public java.lang.String getName1()
public java.lang.String getName2()
public boolean hasNames()
public int getLow1()
public int getHigh1()
public int getLow2()
public int getHigh2()
public int getStrand1()
public boolean isForwardStrand1()
public int getStrand2()
public boolean isForwardStrand2()
public double getPercentIdentity()
public boolean hasPercentIdentity()
public boolean hasSpeciesFeatures()
public SeqFeatureI getSpeciesFeature1()
public SeqFeatureI getSpeciesFeature2()
public SeqFeatureI getLinkedSpeciesFeature(SeqFeatureI feat)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||