⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdbstructure.java

📁 化学图形处理软件
💻 JAVA
字号:
/* $RCSfile: $ * $Author: egonw $ * $Date: 2005-11-10 16:52:44 +0100 (Thu, 10 Nov 2005) $ * $Revision: 4255 $ * * Copyright (C) 2006-2007  Egon Willighagen <egonw@users.sf.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */package org.openscience.cdk.protein.data;import org.openscience.cdk.ChemObject;import org.openscience.cdk.interfaces.IPDBStructure;/** * Holder for secundary protein structure elements. Lously modeled after * the Jmol Structure.java. *  * @author     egonw *  * @cdk.module data */public class PDBStructure extends ChemObject implements IPDBStructure {		private static final long serialVersionUID = -1877529009319324448L;		public final static String HELIX = "helix";	public final static String SHEET = "sheet";	public final static String TURN = "turn";	    private String structureType;    private char startChainID;    private int startSequenceNumber;    private char startInsertionCode;    private char endChainID;    private int endSequenceNumber;    private char endInsertionCode;        /**     * get the ending Chain identifier of this structure.     *      * @return the ending Chain identifier of this structure     */    public char getEndChainID() {    	return endChainID;    }    /**     * set the ending Chain identifier of this structure.     *      * @param endChainID  the ending Chain identifier of this structure     */    public void setEndChainID(char endChainID) {    	this.endChainID = endChainID;    }    /**     * get the ending Code for insertion of residues of this structure.     *      * @return the ending Code for insertion of residues of this structure     */    public char getEndInsertionCode() {    	return endInsertionCode;    }    /**     * set the ending Code for insertion of residues of this structure.     *      * @param endInsertionCode  the ending Code for insertion of residues of this structure     */    public void setEndInsertionCode(char endInsertionCode) {    	this.endInsertionCode = endInsertionCode;    }    /**     * get the ending sequence number of this structure.     *      * @return the ending sequence number of this structure     */    public int getEndSequenceNumber() {    	return endSequenceNumber;    }    /**     * set the ending sequence number of this structure.     *      * @param endSequenceNumber  the ending sequence number of this structure     */    public void setEndSequenceNumber(int endSequenceNumber) {    	this.endSequenceNumber = endSequenceNumber;    }    /**     * get start Chain identifier of this structure.     *      * @return the start Chain identifier of this structure     */    public char getStartChainID() {    	return startChainID;    }    /**     * set the start Chain identifier of this structure.     *      * @param startChainID  the start Chain identifier of this structure     */    public void setStartChainID(char startChainID) {    	this.startChainID = startChainID;    }    /**     * get start Code for insertion of residues of this structure.     *      * @return the start Code for insertion of residues of this structure     */    public char getStartInsertionCode() {    	return startInsertionCode;    }    /**     * set the start Chain identifier of this structure.     *      * @param startInsertionCode  the start Chain identifier of this structure     */    public void setStartInsertionCode(char startInsertionCode) {    	this.startInsertionCode = startInsertionCode;    }    /**     * get the start sequence number of this structure.     *      * @return the start sequence number of this structure     */    public int getStartSequenceNumber() {    	return startSequenceNumber;    }    /**     * set the start sequence number of this structure.     *      * @param endSequenceNumber  the start sequence number of this structure     */    public void setStartSequenceNumber(int startSequenceNumber) {    	this.startSequenceNumber = startSequenceNumber;    }    /**     * get Structure Type of this structure.     *      * @return the Structure Type of this structure     */    public String getStructureType() {    	return structureType;    }    /**     * set the Structure Type of this structure.     *      * @param structureType  the Structure Type of this structure     */    public void setStructureType(String structureType) {    	this.structureType = structureType;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -