public class QueryBond extends MolBond
ANY, AROMATIC, BOLD, CCLENGTH, CONJUGATED, COORDINATE, DOUBLE_OR_AROMATIC, DOWN, HASHED, HYDROGEN, RC_CHANGE, RC_MAKE_AND_CHANGE, RC_MAKE_OR_BREAK, RC_NOT_CENTER, RC_NOT_MODIFIED, RC_REACTING_CENTER, RC_UNMAPPED, REACTING_CENTER_MASK, SETSEQ_MAX, SETSEQ_OFF, SINGLE_OR_AROMATIC, SINGLE_OR_DOUBLE, STEREO_MASK, STEREO1_MASK, STEREO2_CARE, TOPOLOGY_CHAIN, TOPOLOGY_MASK, TOPOLOGY_RING, TYPE_MASK, UP, WAVY
ANTI, ATOMSTEREO_EITHER, ATOMSTEREO_MASK, ATOMSTEREO_NONE, ATOMSTEREO_SPECIFIC, CHIRALITY_M, CHIRALITY_MASK, CHIRALITY_P, CHIRALITY_r, CHIRALITY_R, CHIRALITY_s, CHIRALITY_S, CHIRALITYSUPPORT_ALL, CHIRALITYSUPPORT_NONE, CHIRALITYSUPPORT_SELECTED, CIS, CTUMASK, CTUNKNOWN, CTUNSPEC, DBS_ALL, DBS_MARKED, DBS_NONE, ENDO, EXO, PARITY_ALLENE, PARITY_EITHER, PARITY_EVEN, PARITY_MASK, PARITY_ODD, PARITY_TETRAHEDRAL, PARITY_UNSPEC, STGRP_ABS, STGRP_AND, STGRP_NONE, STGRP_OR, SYN, TRANS
Constructor and Description |
---|
QueryBond(MolAtom a1,
MolAtom a2)
Construct an any bond between two atoms.
|
QueryBond(MolAtom a1,
MolAtom a2,
int flags)
Construct an any bond between two atoms.
|
QueryBond(MolAtom a1,
MolAtom a2,
String s)
Construct a query bond between two atoms.
|
QueryBond(QueryBond b)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Make a copy of this object.
|
MolBond |
cloneBond(MolAtom a1,
MolAtom a2)
Clones this bond.
|
String |
getQuerystr()
Gets the query properties.
|
boolean |
haveEqualProperties(MolBond e)
Checks if two bonds have the same properties.
|
void |
setQuerystr(String s)
Sets the query string.
|
calcOrderFromLength, calcOrderFromValence, calcStereo2, calcStereo2, calcStereo2, clearProperties, containsPropertyKey, desiredLength, getAtom1, getAtom2, getBondType, getCTAtom1, getCTAtom4, getDesiredLength, getDesiredLength, getFlags, getLength, getLock, getOtherAtom, getParent, getProperty, getSetSeq, getStereo1, getType, isBold, isCollinear, isConjugated, isCoordinate, isHashed, isPositionVariation, isQuery, isRemovable, overridesAtMerge, propertyCount, propertyKeySet, propertySet, putProperty, removeProperty, setFlags, setFlags, setSetSeq, setStereo2Flags, setType, stepWedge, stepWedge, swap, toString, transformCT
public QueryBond(MolAtom a1, MolAtom a2)
a1
- the first atoma2
- the second atompublic QueryBond(MolAtom a1, MolAtom a2, int flags)
a1
- the first atoma2
- the second atomflags
- bond type and other flagspublic QueryBond(MolAtom a1, MolAtom a2, String s)
a1
- the first atoma2
- the second atoms
- the query stringpublic QueryBond(QueryBond b)
b
- the original bondpublic String getQuerystr()
getQuerystr
in class MolBond
public void setQuerystr(String s)
s
- the query stringpublic boolean haveEqualProperties(MolBond e)
haveEqualProperties
in class MolBond
public MolBond cloneBond(MolAtom a1, MolAtom a2)