Class Model

  • All Implemented Interfaces:
    Serializable

    public class Model
    extends Object
    implements Serializable
    An internal utility class for StructureImpl to make it easier to manage poly and nonpoly chains. Not to exposed to users through API. Created by andreas on 5/3/16.
    Since:
    5.0
    Author:
    Andreas Prlic
    See Also:
    Serialized Form
    • Constructor Detail

      • Model

        public Model()
    • Method Detail

      • getPolyChains

        public List<Chain> getPolyChains()
      • getNonPolyChains

        public List<Chain> getNonPolyChains()
      • getWaterChains

        public List<Chain> getWaterChains()
      • getChains

        public List<Chain> getChains()
        Get all chains: polymeric, non-polymeric and water
        Returns:
      • setChains

        public void setChains​(List<Chain> modelChains)
      • addChain

        public void addChain​(Chain c)
      • size

        public int size()
        Returns the total number of chains in this model: polymeric, non-polymeric and water
        Returns: