Class MmtfSummaryDataBean


  • public class MmtfSummaryDataBean
    extends java.lang.Object
    Class to store the summary data for a given structure.
    Author:
    Anthony Bradley
    • Constructor Detail

      • MmtfSummaryDataBean

        public MmtfSummaryDataBean()
    • Method Detail

      • getAllChains

        public java.util.List<Chain> getAllChains()
        Returns:
        the list of chains (in all models) in the structure
      • setAllChains

        public void setAllChains​(java.util.List<Chain> allChains)
        Parameters:
        allChains - the list of chains (in all models) in the structure
      • getAllAtoms

        public java.util.List<Atom> getAllAtoms()
        Returns:
        the list of atoms (in all models) in the structure
      • setAllAtoms

        public void setAllAtoms​(java.util.List<Atom> allAtoms)
        Parameters:
        allAtoms - the list of atoms (in all models) in the structure
      • getNumBonds

        public int getNumBonds()
        Returns:
        the number of covalent bonds in the structure
      • setNumBonds

        public void setNumBonds​(int numBonds)
        Parameters:
        numBonds - the number of covalent bonds in the structure
      • getChainIdToIndexMap

        public java.util.Map<java.lang.String,​java.lang.Integer> getChainIdToIndexMap()
        Returns:
        the map of chain ids (strings asymId) to the index of that chain in the allChains list. This only applies for the first model in the structure.
      • setChainIdToIndexMap

        public void setChainIdToIndexMap​(java.util.Map<java.lang.String,​java.lang.Integer> chainIdToIndexMap)
        Parameters:
        chainIdToIndexMap - the map of chain ids (strings asymId) to the index of that chain in the allChains list. This only applies for the first model in the structure.