|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.biomage.Common.Extendable
|
+--org.biomage.Common.Describable
|
+--org.biomage.Common.Identifiable
|
+--org.biomage.BioSequence.BioSequence
A BioSequence is a representation of a DNA, RNA, or protein sequence. It can be represented by a Clone, Gene, or the sequence.
| Nested Class Summary |
| Nested classes inherited from class org.biomage.Interface.HasSequenceDatabases |
HasSequenceDatabases.SequenceDatabases_list |
| Nested classes inherited from class org.biomage.Interface.HasOntologyEntries |
HasOntologyEntries.OntologyEntries_list |
| Nested classes inherited from class org.biomage.Interface.HasSeqFeatures |
HasSeqFeatures.SeqFeatures_list |
| Nested classes inherited from class org.biomage.Interface.HasAuditTrail |
HasAuditTrail.AuditTrail_list |
| Nested classes inherited from class org.biomage.Interface.HasDescriptions |
HasDescriptions.Descriptions_list |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
HasPropertySets.PropertySets_list |
| Field Summary | |
protected HasOntologyEntries.OntologyEntries_list |
ontologyEntries
Ontology entries referring to common values associated with BioSequences, such as gene names, go ids, etc. |
protected OntologyEntry |
polymerType
A choice of protein, RNA, or DNA. |
protected HasSeqFeatures.SeqFeatures_list |
seqFeatures
Association to annotations for subsequences. |
protected HasSequenceDatabases.SequenceDatabases_list |
sequenceDatabases
References an entry in a species database, like GenBank, UniGene, etc. |
protected OntologyEntry |
species
The organism from which this sequence was obtained. |
protected OntologyEntry |
type
The type of biosequence, i.e. |
| Fields inherited from class org.biomage.Common.Describable |
auditTrail, descriptions, security |
| Fields inherited from class org.biomage.Common.Extendable |
propertySets |
| Constructor Summary | |
BioSequence()
Default constructor. |
|
BioSequence(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
void |
addToOntologyEntries(int position,
OntologyEntry ontologyEntry)
Method to add OntologyEntry at position to OntologyEntries_list |
void |
addToOntologyEntries(OntologyEntry ontologyEntry)
Method to add OntologyEntry to OntologyEntries_list |
void |
addToSeqFeatures(int position,
SeqFeature seqFeature)
Method to add SeqFeature at position to SeqFeatures_list |
void |
addToSeqFeatures(SeqFeature seqFeature)
Method to add SeqFeature to SeqFeatures_list |
void |
addToSequenceDatabases(DatabaseEntry databaseEntry)
Method to add DatabaseEntry to SequenceDatabases_list |
void |
addToSequenceDatabases(int position,
DatabaseEntry databaseEntry)
Method to add DatabaseEntry at position to SequenceDatabases_list |
OntologyEntry |
getFromOntologyEntries(int position)
Method to get OntologyEntry from OntologyEntries_list |
SeqFeature |
getFromSeqFeatures(int position)
Method to get SeqFeature from SeqFeatures_list |
DatabaseEntry |
getFromSequenceDatabases(int position)
Method to get DatabaseEntry from SequenceDatabases_list |
boolean |
getIsApproximateLength()
Get method for isApproximateLength |
boolean |
getIsCircular()
Get method for isCircular |
int |
getLength()
Get method for length |
HasOntologyEntries.OntologyEntries_list |
getOntologyEntries()
Get method for ontologyEntries |
OntologyEntry |
getPolymerType()
Get method for polymerType |
HasSeqFeatures.SeqFeatures_list |
getSeqFeatures()
Get method for seqFeatures |
java.lang.String |
getSequence()
Get method for sequence |
HasSequenceDatabases.SequenceDatabases_list |
getSequenceDatabases()
Get method for sequenceDatabases |
OntologyEntry |
getSpecies()
Get method for species |
OntologyEntry |
getType()
Get method for type |
void |
removeElementAtFromOntologyEntries(int position)
Method to remove by position from OntologyEntries_list |
void |
removeElementAtFromSeqFeatures(int position)
Method to remove by position from SeqFeatures_list |
void |
removeElementAtFromSequenceDatabases(int position)
Method to remove by position from SequenceDatabases_list |
void |
removeFromOntologyEntries(OntologyEntry ontologyEntry)
Method to remove first OntologyEntry from OntologyEntries_list |
void |
removeFromSeqFeatures(SeqFeature seqFeature)
Method to remove first SeqFeature from SeqFeatures_list |
void |
removeFromSequenceDatabases(DatabaseEntry databaseEntry)
Method to remove first DatabaseEntry from SequenceDatabases_list |
void |
setIsApproximateLength(boolean isApproximateLength)
Set method for isApproximateLength |
void |
setIsCircular(boolean isCircular)
Set method for isCircular |
void |
setLength(int length)
Set method for length |
void |
setOntologyEntries(HasOntologyEntries.OntologyEntries_list ontologyEntries)
Set method for ontologyEntries |
void |
setPolymerType(OntologyEntry polymerType)
Set method for polymerType |
void |
setSeqFeatures(HasSeqFeatures.SeqFeatures_list seqFeatures)
Set method for seqFeatures |
void |
setSequence(java.lang.String sequence)
Set method for sequence |
void |
setSequenceDatabases(HasSequenceDatabases.SequenceDatabases_list sequenceDatabases)
Set method for sequenceDatabases |
void |
setSpecies(OntologyEntry species)
Set method for species |
void |
setType(OntologyEntry type)
Set method for type |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
| Methods inherited from class org.biomage.Common.Identifiable |
getIdentifier, getName, setIdentifier, setName |
| Methods inherited from class org.biomage.Common.Describable |
addToAuditTrail, addToAuditTrail, addToDescriptions, addToDescriptions, getAuditTrail, getDescriptions, getFromAuditTrail, getFromDescriptions, getSecurity, removeElementAtFromAuditTrail, removeElementAtFromDescriptions, removeFromAuditTrail, removeFromDescriptions, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from class org.biomage.Common.Extendable |
addToPropertySets, addToPropertySets, getFromPropertySets, getPropertySets, removeElementAtFromPropertySets, removeFromPropertySets, setPropertySets |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected HasSequenceDatabases.SequenceDatabases_list sequenceDatabases
protected HasOntologyEntries.OntologyEntries_list ontologyEntries
protected OntologyEntry polymerType
protected OntologyEntry type
protected OntologyEntry species
protected HasSeqFeatures.SeqFeatures_list seqFeatures
| Constructor Detail |
public BioSequence()
public BioSequence(org.xml.sax.Attributes atts)
| Method Detail |
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
writeMAGEML in class Identifiablejava.io.IOException
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
writeAttributes in class Identifiablejava.io.IOException
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
writeAssociations in class Identifiablejava.io.IOExceptionpublic void setLength(int length)
public int getLength()
public void setIsApproximateLength(boolean isApproximateLength)
public boolean getIsApproximateLength()
public void setIsCircular(boolean isCircular)
public boolean getIsCircular()
public void setSequence(java.lang.String sequence)
public java.lang.String getSequence()
public void setSequenceDatabases(HasSequenceDatabases.SequenceDatabases_list sequenceDatabases)
setSequenceDatabases in interface HasSequenceDatabasespublic HasSequenceDatabases.SequenceDatabases_list getSequenceDatabases()
getSequenceDatabases in interface HasSequenceDatabasespublic void addToSequenceDatabases(DatabaseEntry databaseEntry)
addToSequenceDatabases in interface HasSequenceDatabases
public void addToSequenceDatabases(int position,
DatabaseEntry databaseEntry)
addToSequenceDatabases in interface HasSequenceDatabasespublic DatabaseEntry getFromSequenceDatabases(int position)
getFromSequenceDatabases in interface HasSequenceDatabasespublic void removeElementAtFromSequenceDatabases(int position)
removeElementAtFromSequenceDatabases in interface HasSequenceDatabasespublic void removeFromSequenceDatabases(DatabaseEntry databaseEntry)
removeFromSequenceDatabases in interface HasSequenceDatabasespublic void setOntologyEntries(HasOntologyEntries.OntologyEntries_list ontologyEntries)
setOntologyEntries in interface HasOntologyEntriespublic HasOntologyEntries.OntologyEntries_list getOntologyEntries()
getOntologyEntries in interface HasOntologyEntriespublic void addToOntologyEntries(OntologyEntry ontologyEntry)
addToOntologyEntries in interface HasOntologyEntries
public void addToOntologyEntries(int position,
OntologyEntry ontologyEntry)
addToOntologyEntries in interface HasOntologyEntriespublic OntologyEntry getFromOntologyEntries(int position)
getFromOntologyEntries in interface HasOntologyEntriespublic void removeElementAtFromOntologyEntries(int position)
removeElementAtFromOntologyEntries in interface HasOntologyEntriespublic void removeFromOntologyEntries(OntologyEntry ontologyEntry)
removeFromOntologyEntries in interface HasOntologyEntriespublic void setPolymerType(OntologyEntry polymerType)
setPolymerType in interface HasPolymerTypepublic OntologyEntry getPolymerType()
getPolymerType in interface HasPolymerTypepublic void setType(OntologyEntry type)
setType in interface HasTypepublic OntologyEntry getType()
getType in interface HasTypepublic void setSpecies(OntologyEntry species)
setSpecies in interface HasSpeciespublic OntologyEntry getSpecies()
getSpecies in interface HasSpeciespublic void setSeqFeatures(HasSeqFeatures.SeqFeatures_list seqFeatures)
setSeqFeatures in interface HasSeqFeaturespublic HasSeqFeatures.SeqFeatures_list getSeqFeatures()
getSeqFeatures in interface HasSeqFeaturespublic void addToSeqFeatures(SeqFeature seqFeature)
addToSeqFeatures in interface HasSeqFeatures
public void addToSeqFeatures(int position,
SeqFeature seqFeature)
addToSeqFeatures in interface HasSeqFeaturespublic SeqFeature getFromSeqFeatures(int position)
getFromSeqFeatures in interface HasSeqFeaturespublic void removeElementAtFromSeqFeatures(int position)
removeElementAtFromSeqFeatures in interface HasSeqFeaturespublic void removeFromSeqFeatures(SeqFeature seqFeature)
removeFromSeqFeatures in interface HasSeqFeatures
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||