@TestClass(value="org.openscience.cdk.qsar.descriptors.atomic.IsProtonInConjugatedPiSystemDescriptorTest") public class IsProtonInConjugatedPiSystemDescriptor extends Object implements IAtomicDescriptor
This descriptor uses these parameters:
Name | Default | Description |
checkAromaticity | false | True is the aromaticity has to be checked |
Constructor and Description |
---|
IsProtonInConjugatedPiSystemDescriptor()
Constructor for the IsProtonInConjugatedPiSystemDescriptor object
|
Modifier and Type | Method and Description |
---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer atomContainer)
The method is a proton descriptor that evaluates if a proton is joined to a conjugated system.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
String[] |
getParameterNames()
Gets the parameterNames attribute of the
IsProtonInConjugatedPiSystemDescriptor object
|
Object[] |
getParameters()
Gets the parameters attribute of the IsProtonInConjugatedPiSystemDescriptor
object
|
Object |
getParameterType(String name)
Gets the parameterType attribute of the
IsProtonInConjugatedPiSystemDescriptor object
|
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the
IsProtonInConjugatedPiSystemDescriptor object
|
void |
setParameters(Object[] params)
Sets the parameters attribute of the IsProtonInConjugatedPiSystemDescriptor
object
|
public IsProtonInConjugatedPiSystemDescriptor()
@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
getSpecification
in interface IDescriptor
@TestMethod(value="testSetParameters_arrayObject") public void setParameters(Object[] params) throws CDKException
setParameters
in interface IDescriptor
params
- Parameters are an integer (heavy atom position) and a boolean (true if is needed a checkAromaticity)CDKException
- Description of the ExceptionIDescriptor.getParameters()
@TestMethod(value="testGetParameters") public Object[] getParameters()
getParameters
in interface IDescriptor
IDescriptor.setParameters(java.lang.Object[])
@TestMethod(value="testNamesConsistency") public String[] getDescriptorNames()
IDescriptor
ALOGPDescriptor
the return array will have a single element
getDescriptorNames
in interface IDescriptor
@TestMethod(value="testCalculate_IAtomContainer") public DescriptorValue calculate(IAtom atom, IAtomContainer atomContainer)
calculate
in interface IAtomicDescriptor
atom
- The IAtom for which the DescriptorValue is requestedatomContainer
- AtomContainer@TestMethod(value="testGetParameterNames") public String[] getParameterNames()
getParameterNames
in interface IDescriptor
@TestMethod(value="testGetParameterType_String") public Object getParameterType(String name)
getParameterType
in interface IDescriptor
name
- Description of the Parameter