public class PseudoAtom extends Atom implements Serializable, Cloneable, IPseudoAtom
This should be replaced by the mechanism explained in RFC #8.
Atom
,
Serialized FormIAtomType.Hybridization
charge, fractionalPoint3d, hydrogenCount, point2d, point3d, stereoParity
electronValency, formalCharge, formalNeighbourCount, hybridization
exactMass, naturalAbundance
atomicNumber, symbol
Constructor and Description |
---|
PseudoAtom()
Constructs an empty PseudoAtom.
|
PseudoAtom(IElement element)
Constructs an PseudoAtom from a IAtom.
|
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.
|
Modifier and Type | Method and Description |
---|---|
IPseudoAtom |
clone()
Clones this atom object and its content.
|
int |
getAttachPointNum()
Access the attachment point number.
|
String |
getLabel()
Returns the label of this PseudoAtom.
|
void |
setAttachPointNum(int attachPoint)
Set the attachment point number.
|
void |
setLabel(String label)
Sets the label of this PseudoAtom.
|
void |
setStereoParity(Integer stereoParity)
Dummy method: the stereo parity is undefined, final.
|
String |
toString()
Returns a one line string representation of this Atom.
|
compare, getCharge, getFractionalPoint3d, getImplicitHydrogenCount, getPoint2d, getPoint3d, getStereoParity, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setPoint2d, setPoint3d
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, addProperties, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCharge, getFractionalPoint3d, getImplicitHydrogenCount, getPoint2d, getPoint3d, getStereoParity, isAromatic, isInRing, setCharge, setFractionalPoint3d, setImplicitHydrogenCount, setIsAromatic, setIsInRing, setPoint2d, setPoint3d
getAtomTypeName, getBondOrderSum, getCovalentRadius, getFormalCharge, getFormalNeighbourCount, getHybridization, getMaxBondOrder, getValency, setAtomTypeName, setBondOrderSum, setCovalentRadius, setFormalCharge, setFormalNeighbourCount, setHybridization, setMaxBondOrder, setValency
getExactMass, getMassNumber, getNaturalAbundance, setExactMass, setMassNumber, setNaturalAbundance
getAtomicNumber, getSymbol, setAtomicNumber, setSymbol
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
public PseudoAtom()
public PseudoAtom(String label)
label
- The String describing the PseudoAtompublic PseudoAtom(IElement element)
element
- IAtom from which the PseudoAtom is constructedpublic PseudoAtom(String label, javax.vecmath.Point3d point3d)
label
- The String describing the PseudoAtompoint3d
- The 3D coordinates of the atompublic PseudoAtom(String label, javax.vecmath.Point2d point2d)
label
- The String describing the PseudoAtompoint2d
- The Pointpublic String getLabel()
getLabel
in interface IPseudoAtom
setLabel(java.lang.String)
public void setLabel(String label)
setLabel
in interface IPseudoAtom
label
- The new label for this PseudoAtomgetLabel()
public int getAttachPointNum()
getAttachPointNum
in interface IPseudoAtom
public void setAttachPointNum(int attachPoint)
setAttachPointNum
in interface IPseudoAtom
attachPoint
- attach point numberpublic void setStereoParity(Integer stereoParity)
setStereoParity
in interface IAtom
setStereoParity
in class Atom
stereoParity
- The stereo parity for this atomfor predefined values.
,
Atom.getStereoParity()
public String toString()
toString
in interface IChemObject
toString
in class Atom
public IPseudoAtom clone() throws CloneNotSupportedException
Atom
clone
in interface IAtom
clone
in interface IChemObject
clone
in interface IPseudoAtom
clone
in class Atom
CloneNotSupportedException
- if the IChemObject cannot be clonedCopyright © 2017. All Rights Reserved.