1
/* $Revision: 6913 $ $Author: egonw $ $Date: 2006-09-18 18:13:21 +0000 (Mon, 18 Sep 2006) $
3
* Copyright (C) 2004-2007 Miguel Rojas <miguel.rojas@uni-koeln.de>
5
* Contact: cdk-devel@lists.sourceforge.net
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public License
9
* as published by the Free Software Foundation; either version 2.1
10
* of the License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21
package org.openscience.cdk.debug;
23
import org.openscience.cdk.interfaces.IPDBMonomer;
24
import org.openscience.cdk.protein.data.PDBMonomer;
25
import org.openscience.cdk.tools.LoggingTool;
28
* Debugging data class.
30
* @author Miguel Rojas
31
* @cdk.module datadebug
33
public class DebugPDBMonomer extends PDBMonomer implements IPDBMonomer {
35
private static final long serialVersionUID = -5156111560946745699L;
37
LoggingTool logger = new LoggingTool(DebugAtomContainer.class);
39
public void setICode(String newICode) {
40
logger.debug("Setting I Code: ", newICode);
41
super.setICode(newICode);
44
public String getICode() {
45
logger.debug("Getting I Code: ", super.getICode());
46
return super.getICode();
49
public void setChainID(String newChainID) {
50
logger.debug("Setting ChainID: ", newChainID);
51
super.setChainID(newChainID);
54
public String getChainID() {
55
logger.debug("Getting ChainID: ", super.getChainID());
56
return super.getChainID();