Class MmtfSummaryDataBean
- java.lang.Object
-
- org.biojava.nbio.structure.io.mmtf.MmtfSummaryDataBean
-
public class MmtfSummaryDataBean extends java.lang.Object
Class to store the summary data for a given structure.- Author:
- Anthony Bradley
-
-
Constructor Summary
Constructors Constructor Description MmtfSummaryDataBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Atom>
getAllAtoms()
java.util.List<Chain>
getAllChains()
java.util.Map<java.lang.String,java.lang.Integer>
getChainIdToIndexMap()
int
getNumBonds()
void
setAllAtoms(java.util.List<Atom> allAtoms)
void
setAllChains(java.util.List<Chain> allChains)
void
setChainIdToIndexMap(java.util.Map<java.lang.String,java.lang.Integer> chainIdToIndexMap)
void
setNumBonds(int numBonds)
-
-
-
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.
-
-