Package org.biojava.nbio.structure.scop
Class ScopDescription
java.lang.Object
org.biojava.nbio.structure.scop.ScopDescription
- All Implemented Interfaces:
Serializable,Cloneable
Contains data from
dir.des.scop.txt_1.75
e.g
SunID Cat Class Name Description ----- --- ----- ---- ----------- 26154 px b.47.1.2 d1nrs.1 1nrs L:,H: 125030 px b.47.1.2 d1zgia1 1zgi A:1A-245
- Author:
- Andreas Prlic
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()booleanCompares the fields sunID, category, classificationId, and name for equalitygetClassificationId(ScopCategory category) Return a portion of the classificationID corresponding to the specified category (class, fold, superfamily, family).getName()intgetSunID()inthashCode()voidsetCategory(ScopCategory category) voidsetClassificationId(String classificationId) voidsetDescription(String description) voidvoidsetSunID(int sunID) toString()
-
Constructor Details
-
ScopDescription
public ScopDescription()
-
-
Method Details
-
toString
-
getSunID
public int getSunID() -
setSunID
public void setSunID(int sunID) -
getCategory
-
setCategory
-
getClassificationId
-
setClassificationId
-
getName
-
setName
-
getDescription
-
setDescription
-
getClassificationId
Return a portion of the classificationID corresponding to the specified category (class, fold, superfamily, family).Example: for SCOP family "b.5.1.1", getClassificationId(ScopCategory.Superfamily) => "b.5.1"
-
hashCode
public int hashCode() -
equals
Compares the fields sunID, category, classificationId, and name for equality -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-