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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
boolean
Compares 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()
int
getSunID()
int
hashCode()
void
setCategory
(ScopCategory category) void
setClassificationId
(String classificationId) void
setDescription
(String description) void
void
setSunID
(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:
clone
in classObject
- Throws:
CloneNotSupportedException
-