Class StructureGroup
- java.lang.Object
-
- org.biojava.nbio.protmod.structure.StructureGroup
-
- All Implemented Interfaces:
Comparable<StructureGroup>
public class StructureGroup extends Object implements Comparable<StructureGroup>
Information of a group (residue or ligand) involved in a modification.- Since:
- 3.0
- Author:
- Jianjiong Gao
-
-
Constructor Summary
Constructors Constructor Description StructureGroup()
StructureGroup(ResidueNumber resNum, String pdbName, boolean isAminoAcid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(StructureGroup aGroup)
boolean
equals(Object obj)
String
getChainId()
Character
getInsCode()
String
getPDBName()
ResidueNumber
getPDBResidueNumber()
int
getResidueNumber()
int
hashCode()
boolean
isAminoAcid()
void
setChainId(String chainId)
void
setInsCode(Character c)
void
setIsAminoAcid(boolean isAminoAcid)
void
setPDBName(String pdbName)
void
setPDBResidueNumber(ResidueNumber resNum)
void
setResidueNumber(int seqNr)
String
toString()
-
-
-
Constructor Detail
-
StructureGroup
public StructureGroup()
-
StructureGroup
public StructureGroup(ResidueNumber resNum, String pdbName, boolean isAminoAcid)
-
-
Method Detail
-
getPDBResidueNumber
public ResidueNumber getPDBResidueNumber()
-
setPDBResidueNumber
public void setPDBResidueNumber(ResidueNumber resNum)
-
getChainId
public String getChainId()
-
setChainId
public void setChainId(String chainId)
-
getResidueNumber
public int getResidueNumber()
-
setResidueNumber
public void setResidueNumber(int seqNr)
-
getInsCode
public Character getInsCode()
-
setInsCode
public void setInsCode(Character c)
-
getPDBName
public String getPDBName()
-
setPDBName
public void setPDBName(String pdbName)
-
setIsAminoAcid
public void setIsAminoAcid(boolean isAminoAcid)
-
isAminoAcid
public boolean isAminoAcid()
-
compareTo
public int compareTo(StructureGroup aGroup)
- Specified by:
compareTo
in interfaceComparable<StructureGroup>
-
-