|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojavax.bio.seq.io.UniProtCommentParser
public class UniProtCommentParser
Nested Class Summary | |
---|---|
static class |
UniProtCommentParser.Event
A class to describe events for alternative product comments. |
static class |
UniProtCommentParser.Interaction
A class to describe protein-protein interactions. |
static class |
UniProtCommentParser.Isoform
A class to describe isoforms for alternative product comments. |
static class |
UniProtCommentParser.SeqCaution
A class to describe seq caution entries. |
Field Summary | |
---|---|
static String |
ALTERNATIVE_PRODUCTS
A name for a comment type. |
static String |
BIOPHYSICOCHEMICAL_PROPERTIES
A name for a comment type. |
static String |
DATABASE
A name for a comment type. |
static String |
INTERACTION
A name for a comment type. |
static String |
MASS_SPECTROMETRY
A name for a comment type. |
static String |
PTM
A name for a comment type. |
static String |
SEQUENCE_CAUTION
A name for a comment type. |
Constructor Summary | |
---|---|
UniProtCommentParser()
Creates a new instance of UniProtCommentParser. |
Method Summary | |
---|---|
String |
generate()
Generates a comment string based on the current values of the internal fields. |
String |
getAbsorptionMax()
Getter for property absorptionMax. |
String |
getAbsorptionNote()
Getter for property absorptionNote. |
String |
getCommentType()
Getter for property commentType. |
String |
getDatabaseName()
Getter for property databaseName. |
List |
getEvents()
Getter for property events. |
List |
getInteractions()
Getter for property interactions. |
List |
getIsoforms()
Getter for property isoforms. |
String |
getKineticsNote()
Getter for property kineticsNote. |
List |
getKMs()
Getter for property KMs. |
int |
getMolecularWeight()
Getter for property molecularWeight. |
Integer |
getMolWeightError()
Getter for property molWeightError. |
String |
getMolWeightMethod()
Getter for property molWeightMethod. |
int |
getMolWeightRangeEnd()
Getter for property molWeightRangeEnd. |
int |
getMolWeightRangeStart()
Getter for property molWeightRangeStart. |
String |
getNote()
Getter for property note. |
String |
getPHDependence()
Getter for property PHDependence. |
String |
getRedoxPotential()
Getter for property redoxPotential. |
List |
getSeqCautions()
Getter for property seqCautions. |
String |
getTemperatureDependence()
Getter for property temperatureDependence. |
String |
getText()
Getter for property text. |
String |
getUri()
Getter for property uri. |
List |
getVMaxes()
Getter for property VMaxes. |
static boolean |
isParseable(Comment c)
Returns true if the comment may be parseable (starts with -!-). |
static boolean |
isParseable(String c)
Returns true if the comment may be parseable (starts with -!-). |
void |
parseComment(Comment c)
Parses the comment string from the given comment and populates the internal fields appropriately. |
void |
parseComment(String c)
Parses the comment string from the given comment and populates the internal fields appropriately. |
void |
setAbsorptionMax(String absorptionMax)
Setter for property absorptionMax. |
void |
setAbsorptionNote(String absorptionNote)
Setter for property absorptionNote. |
void |
setCommentType(String commentType)
Setter for property commentType. |
void |
setDatabaseName(String databaseName)
Setter for property databaseName. |
void |
setEvents(List events)
Setter for property events. |
void |
setInteractions(List interactions)
Setter for property interactions. |
void |
setIsoforms(List isoforms)
Setter for property isoforms. |
void |
setKineticsNote(String kineticsNote)
Setter for property kineticsNote. |
void |
setKMs(List KMs)
Setter for property KMs. |
void |
setMolecularWeight(int molecularWeight)
Setter for property molecularWeight. |
void |
setMolWeightError(Integer molWeightError)
Setter for property molWeightError. |
void |
setMolWeightMethod(String molWeightMethod)
Setter for property molWeightMethod. |
void |
setMolWeightRangeEnd(int molWeightRangeEnd)
Setter for property molWeightRangeEnd. |
void |
setMolWeightRangeStart(int molWeightRangeStart)
Setter for property molWeightRangeStart. |
void |
setNote(String note)
Setter for property note. |
void |
setPHDependence(String PHDependence)
Setter for property PHDependence. |
void |
setRedoxPotential(String redoxPotential)
Setter for property redoxPotential. |
void |
setSeqCautions(List seqCautions)
Setter for property seqCautions. |
void |
setTemperatureDependence(String temperatureDependence)
Setter for property temperatureDependence. |
void |
setText(String text)
Setter for property text. |
void |
setUri(String uri)
Setter for property uri. |
void |
setVMaxes(List VMaxes)
Setter for property VMaxes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BIOPHYSICOCHEMICAL_PROPERTIES
public static final String DATABASE
public static final String MASS_SPECTROMETRY
public static final String ALTERNATIVE_PRODUCTS
public static final String INTERACTION
public static final String PTM
public static final String SEQUENCE_CAUTION
Constructor Detail |
---|
public UniProtCommentParser()
Method Detail |
---|
public void parseComment(Comment c) throws ParseException
c
- the comment to parse.
ParseException
- if the comment was not parseable.public void parseComment(String c) throws ParseException
c
- the comment to parse.
ParseException
- if the comment was not parseable.public static boolean isParseable(Comment c)
c
- the comment to check.
public static boolean isParseable(String c)
c
- the comment to check.
public String generate() throws ParseException
ParseException
- if the current settings do not allow the
creation of a correct comment string.public String getCommentType()
public void setCommentType(String commentType)
commentType
- New value of property commentType.public String getText()
public void setText(String text)
text
- New value of property text.public String getDatabaseName()
public void setDatabaseName(String databaseName)
databaseName
- New value of property databaseName.public String getNote()
public void setNote(String note)
note
- New value of property note.public String getUri()
public void setUri(String uri)
uri
- New value of property uri.public int getMolecularWeight()
public void setMolecularWeight(int molecularWeight)
molecularWeight
- New value of property molecularWeight.public Integer getMolWeightError()
public void setMolWeightError(Integer molWeightError)
molWeightError
- New value of property molWeightError.public int getMolWeightRangeStart()
public void setMolWeightRangeStart(int molWeightRangeStart)
molWeightRangeStart
- New value of property molWeightRangeStart.public int getMolWeightRangeEnd()
public void setMolWeightRangeEnd(int molWeightRangeEnd)
molWeightRangeEnd
- New value of property molWeightRangeEnd.public String getMolWeightMethod()
public void setMolWeightMethod(String molWeightMethod)
molWeightMethod
- New value of property molWeightMethod.public List getInteractions()
public void setInteractions(List interactions)
interactions
- New value of property interactions.public List getSeqCautions()
public void setSeqCautions(List seqCautions)
seqCautions
- New value of property seqCautions.public List getEvents()
public void setEvents(List events)
events
- New value of property events.public List getIsoforms()
public void setIsoforms(List isoforms)
isoforms
- New value of property isoforms.public String getAbsorptionMax()
public void setAbsorptionMax(String absorptionMax)
absorptionMax
- New value of property absorptionMax.public String getAbsorptionNote()
public void setAbsorptionNote(String absorptionNote)
absorptionNote
- New value of property absorptionNote.public List getKMs()
public void setKMs(List KMs)
KMs
- New value of property KMs.public List getVMaxes()
public void setVMaxes(List VMaxes)
VMaxes
- New value of property VMaxes.public String getKineticsNote()
public void setKineticsNote(String kineticsNote)
kineticsNote
- New value of property kineticsNote.public String getPHDependence()
public void setPHDependence(String PHDependence)
PHDependence
- New value of property PHDependence.public String getRedoxPotential()
public void setRedoxPotential(String redoxPotential)
redoxPotential
- New value of property redoxPotential.public String getTemperatureDependence()
public void setTemperatureDependence(String temperatureDependence)
temperatureDependence
- New value of property temperatureDependence.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |