001/* 002 * BioJava development code 003 * 004 * This code may be freely distributed and modified under the 005 * terms of the GNU Lesser General Public Licence. This should 006 * be distributed with the code. If you do not have a copy, 007 * see: 008 * 009 * http://www.gnu.org/copyleft/lesser.html 010 * 011 * Copyright for this code is held jointly by the individual 012 * authors. These should be listed in @author doc comments. 013 * 014 * For more information on the BioJava project and its aims, 015 * or to join the biojava-l mailing list, visit the home page 016 * at: 017 * 018 * http://www.biojava.org/ 019 * 020 */ 021package org.biojava.nbio.structure.io.mmcif.chem; 022 023/** A bean that contains cutoffs for correctly detecting metal bonds. 024 * Definitions are in file bond_distance_limits.cif.gz 025 * 026 * Created by andreas on 6/9/16. 027 */ 028public class MetalBondDistance { 029 030 private String atomType1; 031 private String atomType2; 032 private float lowerLimit; 033 private float upperLimit; 034 035 public String getAtomType1() { 036 return atomType1; 037 } 038 039 public void setAtomType1(String atomType1) { 040 this.atomType1 = atomType1; 041 } 042 043 public String getAtomType2() { 044 return atomType2; 045 } 046 047 public void setAtomType2(String atomType2) { 048 this.atomType2 = atomType2; 049 } 050 051 public float getLowerLimit() { 052 return lowerLimit; 053 } 054 055 public void setLowerLimit(float lowerLimit) { 056 this.lowerLimit = lowerLimit; 057 } 058 059 public float getUpperLimit() { 060 return upperLimit; 061 } 062 063 public void setUpperLimit(float upperLimit) { 064 this.upperLimit = upperLimit; 065 } 066 067 @Override 068 public String toString() { 069 return "MetalBindDistance{" + 070 "atomType1='" + atomType1 + '\'' + 071 ", atomType2='" + atomType2 + '\'' + 072 ", lowerLimit=" + lowerLimit + 073 ", upperLimit=" + upperLimit + 074 '}'; 075 } 076}