public class IsProtonInAromaticSystemDescriptor extends AbstractAtomicDescriptor implements IAtomicDescriptor
Name | Default | Description |
checkAromaticity | false | True is the aromaticity has to be checked |
Constructor and Description |
---|
IsProtonInAromaticSystemDescriptor()
Constructor for the IsProtonInAromaticSystemDescriptor object
|
Modifier and Type | Method and Description |
---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer atomContainer)
The method is a proton descriptor that evaluate if a proton is bonded to an aromatic system or if there is distance of 2 bonds.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
String[] |
getParameterNames()
Gets the parameterNames attribute of the IsProtonInAromaticSystemDescriptor
object
|
Object[] |
getParameters()
Gets the parameters attribute of the IsProtonInAromaticSystemDescriptor
object
|
Object |
getParameterType(String name)
Gets the parameterType attribute of the IsProtonInAromaticSystemDescriptor
object
|
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the IsProtonInAromaticSystemDescriptor
object
|
void |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
void |
setParameters(Object[] params)
Sets the parameters attribute of the IsProtonInAromaticSystemDescriptor
object
|
cacheDescriptorValue, getCachedDescriptorValue, isCachedAtomContainer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialise
public IsProtonInAromaticSystemDescriptor()
public DescriptorSpecification getSpecification()
getSpecification
in interface IDescriptor
public void setParameters(Object[] params) throws CDKException
setParameters
in interface IDescriptor
params
- The new parameters valueCDKException
- Possible ExceptionsIDescriptor.getParameters()
public Object[] getParameters()
getParameters
in interface IDescriptor
IDescriptor.setParameters(java.lang.Object[])
public String[] getDescriptorNames()
IDescriptor
ALOGPDescriptor
the return array will have a single elementgetDescriptorNames
in interface IDescriptor
public DescriptorValue calculate(IAtom atom, IAtomContainer atomContainer)
calculate
in interface IAtomicDescriptor
atom
- The IAtom for which the DescriptorValue is requestedatomContainer
- AtomContainerpublic String[] getParameterNames()
getParameterNames
in interface IDescriptor
public Object getParameterType(String name)
getParameterType
in interface IDescriptor
name
- Description of the Parameterpublic void initialise(IChemObjectBuilder builder)
initialise
in interface IDescriptor
builder
- chem object buildCopyright © 2021. All rights reserved.