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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface IAtomType
IAtomType.Hybridization -
Field Summary
Fields inherited from class Atom
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParityFields inherited from class AtomType
electronValency, formalCharge, formalNeighbourCount, hybridizationFields inherited from class Isotope
exactMass, naturalAbundanceFields inherited from class Element
atomicNumberFields inherited from interface 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 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 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 AtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from class Isotope
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundanceMethods inherited from class Element
getAtomicNumber, getSymbol, setAtomicNumber, setSymbolMethods inherited from class 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 interface 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 IAtomType
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValencyMethods inherited from interface ICDKObject
getBuilderMethods inherited from interface 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 IElement
getAtomicNumber, getSymbol, setAtomicNumber, setSymbolMethods inherited from interface 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
-