public class PtmToPrideMap
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
fileName
The name of the file to save.
|
Constructor and Description |
---|
PtmToPrideMap()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CvTerm |
getCVTerm(java.lang.String ptmName)
Returns the CV term corresponding to the given PTM name.
|
static CvTerm |
getDefaultCVTerm(java.lang.String ptmName)
Returns the default cvTerm of a modification when it exists.
|
void |
putCVTerm(java.lang.String modName,
CvTerm cvTerm)
Puts a new mapping in the map.
|
public static final java.lang.String fileName
public CvTerm getCVTerm(java.lang.String ptmName)
ptmName
- the PTM namepublic void putCVTerm(java.lang.String modName, CvTerm cvTerm)
modName
- the modification namecvTerm
- the corresponding cvTermpublic static CvTerm getDefaultCVTerm(java.lang.String ptmName)
ptmName
- the PTM Name according to the XML fileCopyright © 2013. All Rights Reserved.