Package org.biojava.nbio.structure
Class Model
- java.lang.Object
-
- org.biojava.nbio.structure.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 Summary
Constructors Constructor Description Model()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChain(Chain c)List<Chain>getChains()Get all chains: polymeric, non-polymeric and waterList<Chain>getNonPolyChains()List<Chain>getPolyChains()List<Chain>getWaterChains()voidsetChains(List<Chain> modelChains)intsize()Returns the total number of chains in this model: polymeric, non-polymeric and waterStringtoString()
-