|
|||||||||||
| 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.BioSequence.SeqFeature
Represents, in general, what would be a GenBank Feature Table annotation for a sequence.
| Nested Class Summary | |
class |
SeqFeature.Basis
Inner class for the enumeration values that the attribute basis can assume. |
| Nested classes inherited from class org.biomage.Interface.HasRegions |
HasRegions.Regions_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 HasRegions.Regions_list |
regions
Association to classes that describe the location with the sequence of the SeqFeature. |
| Fields inherited from class org.biomage.Common.Describable |
auditTrail, descriptions, security |
| Fields inherited from class org.biomage.Common.Extendable |
propertySets |
| Constructor Summary | |
SeqFeature()
Default constructor. |
|
SeqFeature(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
void |
addToRegions(int position,
SeqFeatureLocation seqFeatureLocation)
Method to add SeqFeatureLocation at position to Regions_list |
void |
addToRegions(SeqFeatureLocation seqFeatureLocation)
Method to add SeqFeatureLocation to Regions_list |
SeqFeature.Basis |
getBasis()
Get method for basis |
SeqFeatureLocation |
getFromRegions(int position)
Method to get SeqFeatureLocation from Regions_list |
java.lang.String |
getNameBasis()
Return the current name of the Enumeration type of Basis. |
java.lang.String |
getNameByValueBasis(int val)
For Basis get the Name of the Enumeration type by passing a Value to it. |
HasRegions.Regions_list |
getRegions()
Get method for regions |
int |
getValueBasis()
Return the currrent value of the Enumeration type of Basis. |
int |
getValueByNameBasis(java.lang.String name)
For Basis get the Value of the Enumeration type by passing a Name to it. |
void |
removeElementAtFromRegions(int position)
Method to remove by position from Regions_list |
void |
removeFromRegions(SeqFeatureLocation seqFeatureLocation)
Method to remove first SeqFeatureLocation from Regions_list |
void |
setBasis(SeqFeature.Basis basis)
Set method for basis |
java.lang.String |
setNameByValueBasis(int val)
For Basis set the Name of the Enumeration type by passing a value (int) |
void |
setRegions(HasRegions.Regions_list regions)
Set method for regions |
int |
setValueByNameBasis(java.lang.String name)
For Basis set the Value of the Enumeration type by passing a Name to it. |
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.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 HasRegions.Regions_list regions
| Constructor Detail |
public SeqFeature()
public SeqFeature(org.xml.sax.Attributes atts)
| Method Detail |
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
writeMAGEML in class Describablejava.io.IOException
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
writeAttributes in class Describablejava.io.IOException
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
writeAssociations in class Describablejava.io.IOExceptionpublic void setBasis(SeqFeature.Basis basis)
public SeqFeature.Basis getBasis()
public java.lang.String setNameByValueBasis(int val)
public int setValueByNameBasis(java.lang.String name)
public java.lang.String getNameByValueBasis(int val)
public int getValueByNameBasis(java.lang.String name)
public java.lang.String getNameBasis()
public int getValueBasis()
public void setRegions(HasRegions.Regions_list regions)
setRegions in interface HasRegionspublic HasRegions.Regions_list getRegions()
getRegions in interface HasRegionspublic void addToRegions(SeqFeatureLocation seqFeatureLocation)
addToRegions in interface HasRegions
public void addToRegions(int position,
SeqFeatureLocation seqFeatureLocation)
addToRegions in interface HasRegionspublic SeqFeatureLocation getFromRegions(int position)
getFromRegions in interface HasRegionspublic void removeElementAtFromRegions(int position)
removeElementAtFromRegions in interface HasRegionspublic void removeFromRegions(SeqFeatureLocation seqFeatureLocation)
removeFromRegions in interface HasRegions
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||