public class EnzymeCrossReference extends Object implements uk.ac.ebi.interfaces.sptr.SPTRCrossReference, Serializable
SPTRCrossReference
interface.Modifier and Type | Field and Description |
---|---|
static String |
MIM
Constant for database cross reference to MIM Disease Database.
|
static String |
PROSITE
Constant for database cross reference to PROSITE.
|
static String |
SWISSPROT
Constant for database cross reference to SwissProt.
|
PROPERTY_ADDITION, PROPERTY_DESCRIPTION, PROPERTY_EMBL_MT_GENOMIC_DNA, PROPERTY_EMBL_MT_GENOMIC_RNA, PROPERTY_EMBL_MT_MRNA, PROPERTY_EMBL_MT_OTHER_DNA, PROPERTY_EMBL_MT_OTHER_RNA, PROPERTY_EMBL_MT_UNASSIGNED_DNA, PROPERTY_EMBL_MT_UNASSIGNED_RNA, PROPERTY_EMBL_MT_UNKNOWN, PROPERTY_EMBL_MT_VIRAL_CRNA, PROPERTY_EMBL_PRE_RNA, PROPERTY_HIT_FALSE_NEG, PROPERTY_HIT_FALSE_POS, PROPERTY_HIT_PARTIAL, PROPERTY_HIT_TRUE_POS, PROPERTY_HIT_UNKNOWN, PROPERTY_PDB_CHAINS, PROPERTY_PDB_METHOD, PROPERTY_PDB_METHOD_EM, PROPERTY_PDB_METHOD_FIBER, PROPERTY_PDB_METHOD_IR, PROPERTY_PDB_METHOD_MODEL, PROPERTY_PDB_METHOD_NEUTRON, PROPERTY_PDB_METHOD_NMR, PROPERTY_PDB_METHOD_XRAY, PROPERTY_PDB_RESOLUTION, PROPERTY_VALUE_UNKNOWN, QUATERNARY_PROPERTY, SECONDARY_PROPERTY, TERTIARY_PROPERTY
Constructor and Description |
---|
EnzymeCrossReference(String databaseName)
Creates an
EnzymeCrossReference instance to the given database. |
Modifier and Type | Method and Description |
---|---|
String |
getAccessionNumber()
Returns the accession number of this EnzymeCrossReference.
|
String |
getDatabaseName()
Returns the name of the database this EnzymeCrossReference refers to.
|
String |
getPropertyValue(int property)
Returns the value of the property.
|
boolean |
hasProperty(int property)
Indicates if a cross reference property is set.
|
void |
setAccessionNumber(String accessionNumber)
Sets the accession number of this EnzymeCrossReference.
|
void |
setPropertyValue(int property,
String value)
Sets a property and value of this EnzymeCrossReference.
|
public static final String SWISSPROT
public static final String PROSITE
public static final String MIM
public EnzymeCrossReference(String databaseName)
EnzymeCrossReference
instance to the given database.
Possible database name constants are:
databaseName
- The name of database of this cross reference.public void setAccessionNumber(String accessionNumber)
DR O66503; RIR1_AQUAE; P42491, RIR1_ASFB7; P26685, RIR1_ASFM2; PR PROSITE; PDOC00084; DI Guanidinoacetate methyltransferase deficiency; MIM:601240.
setAccessionNumber
in interface uk.ac.ebi.interfaces.CrossReference
setAccessionNumber
in interface uk.ac.ebi.interfaces.sptr.SPTRCrossReference
accessionNumber
- The accession number.public String getAccessionNumber()
DR O66503; RIR1_AQUAE; P42491, RIR1_ASFB7; P26685, RIR1_ASFM2; PR PROSITE; PDOC00084; DI Guanidinoacetate methyltransferase deficiency; MIM:601240.
getAccessionNumber
in interface uk.ac.ebi.interfaces.CrossReference
getAccessionNumber
in interface uk.ac.ebi.interfaces.sptr.SPTRCrossReference
public void setPropertyValue(int property, String value)
description
s.setPropertyValue
in interface uk.ac.ebi.interfaces.sptr.SPTRCrossReference
property
- The property.value
- The value of the property.IllegalArgumentException
- if the property
is not a valid property.public boolean hasProperty(int property)
hasProperty
in interface uk.ac.ebi.interfaces.sptr.SPTRCrossReference
property
- The property.public String getPropertyValue(int property)
getPropertyValue
in interface uk.ac.ebi.interfaces.sptr.SPTRCrossReference
property
- The property.public String getDatabaseName()
getDatabaseName
in interface uk.ac.ebi.interfaces.CrossReference
getDatabaseName
in interface uk.ac.ebi.interfaces.sptr.SPTRCrossReference
Copyright © 2014 EMBL-EBI. All rights reserved.