Class SSBond

  • All Implemented Interfaces:
    PDBRecord

    public class SSBond
    extends java.lang.Object
    implements PDBRecord
    A simple bean to store disulfid bridge information, the SSBOND records in the PDB files. The two residues specified here are CYS residues that form a Disulfid bridge.
    Author:
    Andreas Prlic
    • Constructor Summary

      Constructors 
      Constructor Description
      SSBond()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SSBond clone()  
      java.lang.String getChainID1()  
      java.lang.String getChainID2()  
      java.lang.String getInsCode1()  
      java.lang.String getInsCode2()  
      java.lang.String getResnum1()
      get residue number for first CYS.
      java.lang.String getResnum2()
      get residue number for second CYS.
      int getSerNum()
      set serial number of this SSBOND in PDB file
      void setChainID1​(java.lang.String chainID1)  
      void setChainID2​(java.lang.String chainID2)  
      void setInsCode1​(java.lang.String insCode1)  
      void setInsCode2​(java.lang.String insCode2)  
      void setResnum1​(java.lang.String resnum1)  
      void setResnum2​(java.lang.String resnum2)  
      void setSerNum​(int serNum)
      get serial number of this SSBOND in PDB file
      java.lang.String toPDB()
      Returns a PDB file like representation of this record.
      void toPDB​(java.lang.StringBuffer buf)
      append the PDB representation of this SSBOND to the provided StringBUffer
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSBond

        public SSBond()
    • Method Detail

      • toPDB

        public java.lang.String toPDB()
        Description copied from interface: PDBRecord
        Returns a PDB file like representation of this record.
        Specified by:
        toPDB in interface PDBRecord
        Returns:
        a String providing a PDB file like representation of the record.
      • toPDB

        public void toPDB​(java.lang.StringBuffer buf)
        append the PDB representation of this SSBOND to the provided StringBUffer
        Specified by:
        toPDB in interface PDBRecord
        Parameters:
        buf - a StringBuffer to print the PDB representation to
      • getInsCode1

        public java.lang.String getInsCode1()
      • setInsCode1

        public void setInsCode1​(java.lang.String insCode1)
      • getInsCode2

        public java.lang.String getInsCode2()
      • setInsCode2

        public void setInsCode2​(java.lang.String insCode2)
      • getSerNum

        public int getSerNum()
        set serial number of this SSBOND in PDB file
        Returns:
        the serial number
      • setSerNum

        public void setSerNum​(int serNum)
        get serial number of this SSBOND in PDB file
        Parameters:
        serNum -
      • clone

        public SSBond clone()
        Overrides:
        clone in class java.lang.Object
      • getChainID1

        public java.lang.String getChainID1()
      • setChainID1

        public void setChainID1​(java.lang.String chainID1)
      • getChainID2

        public java.lang.String getChainID2()
      • setChainID2

        public void setChainID2​(java.lang.String chainID2)
      • getResnum1

        public java.lang.String getResnum1()
        get residue number for first CYS. number and insertion code are joint together.
        Returns:
        the residue number of the first CYS.
      • setResnum1

        public void setResnum1​(java.lang.String resnum1)
      • getResnum2

        public java.lang.String getResnum2()
        get residue number for second CYS. number and insertion code are joint together.
        Returns:
        the residue number of the second CYS.
      • setResnum2

        public void setResnum2​(java.lang.String resnum2)