Class PDBStructure
java.lang.Object
org.openscience.cdk.silent.ChemObject
org.openscience.cdk.silent.PDBStructure
- All Implemented Interfaces:
Serializable, Cloneable, ICDKObject, IChemObject, IPDBStructure
Holder for secundary protein structure elements. Lously modeled after
the Jmol Structure.java.
- Author:
- egonw
- See Also:
-
Field Summary
FieldsFields inherited from interface IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HIDDEN, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, MARKUSH, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITEDModifier and TypeFieldDescriptionstatic final intFlag that is set if a ChemObject is part of an aliphatic chain.static final intFlag is set if ChemObject is part of an aromatic system.static final intFlag is set if ChemObject is part of a conjugated system.static final intThis flag can be used when depicted structures to hide certain parts, for example the things are abbreviated (display shortcuts).static final intSets to true if the atom is a hydrogen bond acceptor.static final intSets to true if the atom is a hydrogen bond donor.static final intFlag that is set when the ChemObject is part of a ring.static final intFlag is set if a ChemObject is mapped to another ChemObject.static final intFlag to indicate a flattened molecule holds a Markush structure, you can work on it as is or it might make more sense to repack into something sensible like a RGroupQuery.static final intFlag that is set when the ChemObject is part of a ring.static final intFlag that is set if the ChemObject is placed when calculating 2D/3D layouts.static final intFlag is set if a ChemObject has reactive center.static final intFlag used for marking uncertainty of the bond order.static final intFlag is set if an atom could be typed.static final intFlag is set if ChemObject has been visited. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the ending Chain identifier of this structure.get the ending Code for insertion of residues of this structure.get the ending sequence number of this structure.get start Chain identifier of this structure.get start Code for insertion of residues of this structure.get the start sequence number of this structure.get Structure Type of this structure.voidsetEndChainID(Character endChainID) set the ending Chain identifier of this structure.voidsetEndInsertionCode(Character endInsertionCode) set the ending Code for insertion of residues of this structure.voidsetEndSequenceNumber(Integer endSequenceNumber) set the ending sequence number of this structure.voidsetStartChainID(Character startChainID) set the start Chain identifier of this structure.voidsetStartInsertionCode(Character startInsertionCode) set the start Chain identifier of this structure.voidsetStartSequenceNumber(Integer startSequenceNumber) set the start sequence number of this structure.voidsetStructureType(String structureType) set the Structure Type of this structure.Methods inherited from class ChemObject
addListener, addProperties, clear, clone, compare, flags, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyModifier and TypeMethodDescriptionvoidUse this to add yourself to this IChemObject as a listener.voidaddProperties(Map<Object, Object> properties) Sets the properties of this object.voidclear(int flags) Clear the provided flags.clone()Clones thisIChemObject.booleanCompares a IChemObject with this IChemObject.intflags()Access the current value of the flags for this ChemObject.Returns aIChemObjectBuilderfor the data classes that extend this class.booleangetFlag(int mask) Returns the value of a given flag.boolean[]getFlags()Returns the whole set of flags.Access the internal value used to store the flags.getID()Returns the identifier (ID) of this object.intReturns the number of ChemObjectListeners registered with this object.booleanReturns the flag that indicates whether notification messages are sent around.Returns a Map with the IChemObject's properties.<T> TgetProperty(Object description) Returns a property for the IChemObject.<T> TgetProperty(Object description, Class<T> c) Access a property of the given description and cast the specified class.booleanis(int flags) Test if a flag(s) are set on this ChemObject.voidThis should be triggered by an method that changes the content of an object to that the registered listeners can react to it.voidThis should be triggered by an method that changes the content of an object to that the registered listeners can react to it.voidUse this to remove a ChemObjectListener from the ListenerList of this IChemObject.voidremoveProperty(Object description) Removes a property for a IChemObject.voidset(int flags) Set the provided flags.voidsetFlag(int mask, boolean value) Sets the value of some flag.voidsetFlags(boolean[] flagsNew) Sets the whole set of flags.voidSets the identifier (ID) of this object.voidsetNotification(boolean bool) Set a flag to use or not use notification.voidsetProperties(Map<Object, Object> properties) Set the properties of this object to the provided map (shallow copy).voidsetProperty(Object description, Object property) Sets a property for a IChemObject.Clones thisIChemObject, but preserves references toObjects.Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IChemObject
toString
-
Field Details
-
HELIX
- See Also:
-
SHEET
- See Also:
-
TURN
- See Also:
-
-
Constructor Details
-
PDBStructure
public PDBStructure()
-
-
Method Details
-
getEndChainID
get the ending Chain identifier of this structure.- Specified by:
getEndChainIDin interfaceIPDBStructure- Returns:
- the ending Chain identifier of this structure
-
setEndChainID
set the ending Chain identifier of this structure.- Specified by:
setEndChainIDin interfaceIPDBStructure- Parameters:
endChainID- the ending Chain identifier of this structure
-
getEndInsertionCode
get the ending Code for insertion of residues of this structure.- Specified by:
getEndInsertionCodein interfaceIPDBStructure- Returns:
- the ending Code for insertion of residues of this structure
-
setEndInsertionCode
set the ending Code for insertion of residues of this structure.- Specified by:
setEndInsertionCodein interfaceIPDBStructure- Parameters:
endInsertionCode- the ending Code for insertion of residues of this structure
-
getEndSequenceNumber
get the ending sequence number of this structure.- Specified by:
getEndSequenceNumberin interfaceIPDBStructure- Returns:
- the ending sequence number of this structure
-
setEndSequenceNumber
set the ending sequence number of this structure.- Specified by:
setEndSequenceNumberin interfaceIPDBStructure- Parameters:
endSequenceNumber- the ending sequence number of this structure
-
getStartChainID
get start Chain identifier of this structure.- Specified by:
getStartChainIDin interfaceIPDBStructure- Returns:
- the start Chain identifier of this structure
-
setStartChainID
set the start Chain identifier of this structure.- Specified by:
setStartChainIDin interfaceIPDBStructure- Parameters:
startChainID- the start Chain identifier of this structure
-
getStartInsertionCode
get start Code for insertion of residues of this structure.- Specified by:
getStartInsertionCodein interfaceIPDBStructure- Returns:
- the start Code for insertion of residues of this structure
-
setStartInsertionCode
set the start Chain identifier of this structure.- Specified by:
setStartInsertionCodein interfaceIPDBStructure- Parameters:
startInsertionCode- the start Chain identifier of this structure
-
getStartSequenceNumber
get the start sequence number of this structure.- Specified by:
getStartSequenceNumberin interfaceIPDBStructure- Returns:
- the start sequence number of this structure
-
setStartSequenceNumber
set the start sequence number of this structure.- Specified by:
setStartSequenceNumberin interfaceIPDBStructure- Parameters:
startSequenceNumber- the start sequence number of this structure
-
getStructureType
get Structure Type of this structure.- Specified by:
getStructureTypein interfaceIPDBStructure- Returns:
- the Structure Type of this structure
-
setStructureType
set the Structure Type of this structure.- Specified by:
setStructureTypein interfaceIPDBStructure- Parameters:
structureType- the Structure Type of this structure
-