Package org.openscience.cdk
Class PseudoAtom
java.lang.Object
org.openscience.cdk.ChemObject
org.openscience.cdk.Element
org.openscience.cdk.Isotope
org.openscience.cdk.AtomType
org.openscience.cdk.Atom
org.openscience.cdk.PseudoAtom
- All Implemented Interfaces:
Serializable,Cloneable,IAtom,IAtomType,ICDKObject,IChemObject,IElement,IIsotope,IPseudoAtom
- Direct Known Subclasses:
DebugPseudoAtom,EnzymeResidueLocator,FragmentAtom
Represents the idea of a non-chemical atom-like entity, like Me,
R, X, Phe, His, etc.
This should be replaced by the mechanism explained in RFC #8.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openscience.cdk.interfaces.IAtomType
IAtomType.Hybridization -
Field Summary
Fields inherited from class org.openscience.cdk.Atom
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParityFields inherited from class org.openscience.cdk.AtomType
electronValency, formalCharge, formalNeighbourCount, hybridizationFields inherited from class org.openscience.cdk.Isotope
exactMass, naturalAbundanceFields inherited from class org.openscience.cdk.Element
atomicNumberFields inherited from interface org.openscience.cdk.interfaces.IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, MARKUSH, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITEDFields inherited from interface org.openscience.cdk.interfaces.IElement
Ac, Ag, Al, Am, Ar, As, At, Au, B, Ba, Be, Bh, Bi, Bk, Br, C, Ca, Cd, Ce, Cf, Cl, Cm, Cn, Co, Cr, Cs, Cu, Db, Ds, Dy, Er, Es, Eu, F, Fe, Fl, Fm, Fr, Ga, Gd, Ge, H, He, Hf, Hg, Ho, Hs, I, In, Ir, K, Kr, La, Li, Lr, Lu, Lv, Mc, Md, Mg, Mn, Mo, Mt, N, Na, Nb, Nd, Ne, Nh, Ni, No, Np, O, Og, Os, P, Pa, Pb, Pd, Pm, Po, Pr, Pt, Pu, Ra, Rb, Re, Rf, Rg, Rh, Rn, Ru, S, Sb, Sc, Se, Sg, Si, Sm, Sn, Sr, Ta, Tb, Tc, Te, Th, Ti, Tl, Tm, Ts, U, V, W, Wildcard, Xe, Y, Yb, Zn, Zr -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty PseudoAtom.PseudoAtom(String label) Constructs an Atom from a String containing an element symbol.PseudoAtom(String label, javax.vecmath.Point2d point2d) Constructs an Atom from an Element and a Point2d.PseudoAtom(String label, javax.vecmath.Point3d point3d) Constructs an Atom from an Element and a Point3d.PseudoAtom(IElement element) Constructs an PseudoAtom from a IAtom. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones this atom object and its content.intAccess the attachment point number.getLabel()Returns the label of this PseudoAtom.voidsetAttachPointNum(int attachPoint) Set the attachment point number.voidSets the label of this PseudoAtom.voidsetStereoParity(Integer stereoParity) Dummy method: the stereo parity is undefined, final.toString()Returns a one line string representation of this Atom.Methods inherited from class org.openscience.cdk.Atom
bonds, compare, equals, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, hashCode, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setMapIdx, setPoint2d, setPoint3dMethods inherited from class org.openscience.cdk.AtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from class org.openscience.cdk.Isotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundanceMethods inherited from class org.openscience.cdk.Element
getAtomicNumber, getSymbol, setAtomicNumber, setSymbolMethods inherited from class org.openscience.cdk.ChemObject
addListener, addProperties, clear, flags, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openscience.cdk.interfaces.IAtom
bonds, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, getTotalHydrogenCount, isAromatic, isInRing, neighbors, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setMapIdx, setPoint2d, setPoint3dMethods inherited from interface org.openscience.cdk.interfaces.IAtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilderMethods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clear, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setPropertyMethods inherited from interface org.openscience.cdk.interfaces.IElement
getAtomicNumber, getSymbol, setAtomicNumber, setSymbolMethods inherited from interface org.openscience.cdk.interfaces.IIsotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
-
Constructor Details
-
PseudoAtom
public PseudoAtom()Constructs an empty PseudoAtom. -
PseudoAtom
Constructs an Atom from a String containing an element symbol.- Parameters:
label- The String describing the PseudoAtom
-
PseudoAtom
Constructs an PseudoAtom from a IAtom.- Parameters:
element- IAtom from which the PseudoAtom is constructed
-
PseudoAtom
Constructs an Atom from an Element and a Point3d.- Parameters:
label- The String describing the PseudoAtompoint3d- The 3D coordinates of the atom
-
PseudoAtom
Constructs an Atom from an Element and a Point2d.- Parameters:
label- The String describing the PseudoAtompoint2d- The Point
-
-
Method Details
-
getLabel
Returns the label of this PseudoAtom.- Specified by:
getLabelin interfaceIPseudoAtom- Returns:
- The label for this PseudoAtom
- See Also:
-
setLabel
Sets the label of this PseudoAtom.- Specified by:
setLabelin interfaceIPseudoAtom- Parameters:
label- The new label for this PseudoAtom- See Also:
-
getAttachPointNum
public int getAttachPointNum()Access the attachment point number. The default, 0, indicates this atom is not an attachment point.- Specified by:
getAttachPointNumin interfaceIPseudoAtom- Returns:
- attach point number
-
setAttachPointNum
public void setAttachPointNum(int attachPoint) Set the attachment point number.- Specified by:
setAttachPointNumin interfaceIPseudoAtom- Parameters:
attachPoint- attach point number
-
setStereoParity
Dummy method: the stereo parity is undefined, final.- Specified by:
setStereoParityin interfaceIAtom- Overrides:
setStereoParityin classAtom- Parameters:
stereoParity- The stereo parity for this atom- See Also:
-
toString
Returns a one line string representation of this Atom. Methods is conform RFC #9.- Specified by:
toStringin interfaceIChemObject- Overrides:
toStringin classAtom- Returns:
- The string representation of this Atom
-
clone
Description copied from class:AtomClones this atom object and its content.- Specified by:
clonein interfaceIAtom- Specified by:
clonein interfaceIChemObject- Specified by:
clonein interfaceIPseudoAtom- Overrides:
clonein classAtom- Returns:
- The cloned object
- Throws:
CloneNotSupportedException- if the IChemObject cannot be cloned
-