~ubuntu-branches/ubuntu/trusty/cdk/trusty-proposed

« back to all changes in this revision

Viewing changes to src/org/openscience/cdk/debug/DebugPDBMonomer.java

  • Committer: Bazaar Package Importer
  • Author(s): Paul Cager
  • Date: 2008-04-09 21:17:53 UTC
  • Revision ID: james.westby@ubuntu.com-20080409211753-46lmjw5z8mx5pd8d
Tags: upstream-1.0.2
ImportĀ upstreamĀ versionĀ 1.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Revision: 6913 $ $Author: egonw $ $Date: 2006-09-18 18:13:21 +0000 (Mon, 18 Sep 2006) $
 
2
 *
 
3
 *  Copyright (C) 2004-2007  Miguel Rojas <miguel.rojas@uni-koeln.de>
 
4
 *
 
5
 * Contact: cdk-devel@lists.sourceforge.net
 
6
 *
 
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.
 
11
 *
 
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.
 
16
 *
 
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.
 
20
 */
 
21
package org.openscience.cdk.debug;
 
22
 
 
23
import org.openscience.cdk.interfaces.IPDBMonomer;
 
24
import org.openscience.cdk.protein.data.PDBMonomer;
 
25
import org.openscience.cdk.tools.LoggingTool;
 
26
 
 
27
/**
 
28
 * Debugging data class.
 
29
 * 
 
30
 * @author     Miguel Rojas
 
31
 * @cdk.module datadebug
 
32
 */
 
33
public class DebugPDBMonomer extends PDBMonomer  implements IPDBMonomer {
 
34
 
 
35
        private static final long serialVersionUID = -5156111560946745699L;
 
36
        
 
37
        LoggingTool logger = new LoggingTool(DebugAtomContainer.class);
 
38
 
 
39
        public void setICode(String newICode) {
 
40
        logger.debug("Setting I Code: ", newICode);
 
41
                super.setICode(newICode);
 
42
    }
 
43
        
 
44
    public String getICode() {
 
45
        logger.debug("Getting I Code: ", super.getICode());
 
46
                return super.getICode();
 
47
    }
 
48
    
 
49
    public void setChainID(String newChainID) {
 
50
        logger.debug("Setting ChainID: ", newChainID);
 
51
                super.setChainID(newChainID);
 
52
    }
 
53
    
 
54
    public String getChainID() {
 
55
        logger.debug("Getting ChainID: ", super.getChainID());
 
56
                return super.getChainID();
 
57
    }
 
58
 
 
59
 
 
60
}