Package org.openscience.cdk.silent
Class PseudoAtom
- All Implemented Interfaces:
Serializable
,Cloneable
,IAtom
,IAtomType
,ICDKObject
,IChemObject
,IElement
,IIsotope
,IPseudoAtom
- Direct Known Subclasses:
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:
- Source code:
- main
- Belongs to CDK module:
- silent
-
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.silent.Atom
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParity
Fields inherited from class org.openscience.cdk.silent.AtomType
electronValency, formalCharge, formalNeighbourCount, hybridization
Fields inherited from class org.openscience.cdk.silent.Isotope
exactMass, naturalAbundance
Fields inherited from class org.openscience.cdk.silent.Element
atomicNumber
Fields 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.int
Access the attachment point number.getLabel()
Returns the label of this PseudoAtom.void
setAttachPointNum
(int attachPoint) Set the attachment point number.void
Sets the label of this PseudoAtom.void
setStereoParity
(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.silent.Atom
bonds, compare, equals, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, hashCode, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setMapIdx, setPoint2d, setPoint3d
Methods inherited from class org.openscience.cdk.silent.AtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
Methods inherited from class org.openscience.cdk.silent.Isotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
Methods inherited from class org.openscience.cdk.silent.Element
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
Methods inherited from class org.openscience.cdk.silent.ChemObject
addListener, addProperties, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.openscience.cdk.interfaces.IAtom
bonds, getBond, getBondCount, getCharge, getContainer, getFractionalPoint3d, getImplicitHydrogenCount, getIndex, getMapIdx, getPoint2d, getPoint3d, getStereoParity, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setMapIdx, setPoint2d, setPoint3d
Methods inherited from interface org.openscience.cdk.interfaces.IAtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilder
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
Methods inherited from interface org.openscience.cdk.interfaces.IElement
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
Methods 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:
getLabel
in interfaceIPseudoAtom
- Returns:
- The label for this PseudoAtom
- See Also:
-
setLabel
Sets the label of this PseudoAtom.- Specified by:
setLabel
in 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:
getAttachPointNum
in interfaceIPseudoAtom
- Returns:
- attach point number
-
setAttachPointNum
public void setAttachPointNum(int attachPoint) Set the attachment point number.- Specified by:
setAttachPointNum
in interfaceIPseudoAtom
- Parameters:
attachPoint
- attach point number
-
setStereoParity
Dummy method: the stereo parity is undefined, final.- Specified by:
setStereoParity
in interfaceIAtom
- Overrides:
setStereoParity
in 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:
toString
in interfaceIChemObject
- Overrides:
toString
in classAtom
- Returns:
- The string representation of this Atom
-
clone
Description copied from class:Atom
Clones this atom object and its content.- Specified by:
clone
in interfaceIAtom
- Specified by:
clone
in interfaceIChemObject
- Specified by:
clone
in interfaceIPseudoAtom
- Overrides:
clone
in classAtom
- Returns:
- The cloned object
- Throws:
CloneNotSupportedException
- if the IChemObject cannot be cloned
-