Package org.biojava.nbio.structure.scop
Class ScopDescription
- java.lang.Object
-
- org.biojava.nbio.structure.scop.ScopDescription
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class ScopDescription extends java.lang.Object implements java.io.Serializable, java.lang.CloneableContains data from dir.des.scop.txt_1.75e.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScopDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objectclone()booleanequals(java.lang.Object obj)Compares the fields sunID, category, classificationId, and name for equalityScopCategorygetCategory()java.lang.StringgetClassificationId()java.lang.StringgetClassificationId(ScopCategory category)Return a portion of the classificationID corresponding to the specified category (class, fold, superfamily, family).java.lang.StringgetDescription()java.lang.StringgetName()intgetSunID()inthashCode()voidsetCategory(ScopCategory category)voidsetClassificationId(java.lang.String classificationId)voidsetDescription(java.lang.String description)voidsetName(java.lang.String name)voidsetSunID(int sunID)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getSunID
public int getSunID()
-
setSunID
public void setSunID(int sunID)
-
getCategory
public ScopCategory getCategory()
-
setCategory
public void setCategory(ScopCategory category)
-
getClassificationId
public java.lang.String getClassificationId()
-
setClassificationId
public void setClassificationId(java.lang.String classificationId)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getClassificationId
public java.lang.String getClassificationId(ScopCategory category)
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()
- Overrides:
hashCodein classjava.lang.Object- Returns:
- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
Compares the fields sunID, category, classificationId, and name for equality- Overrides:
equalsin classjava.lang.Object- Parameters:
obj-- Returns:
- See Also:
Object.equals(java.lang.Object)
-
clone
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
-