Package org.openscience.cdk.qsar
Class DescriptorSpecification
java.lang.Object
org.openscience.cdk.qsar.DescriptorSpecification
- All Implemented Interfaces:
Serializable
,IImplementationSpecification
public class DescriptorSpecification
extends Object
implements Serializable, IImplementationSpecification
Class that is used to distribute descriptor specifications.
- See Also:
- Source code:
- main
- Belongs to CDK module:
- standard
-
Constructor Summary
ConstructorsConstructorDescriptionDescriptorSpecification
(String specificationReference, String implementationTitle, String implementationVendor) Container for specifying the type of descriptor.DescriptorSpecification
(String specificationReference, String implementationTitle, String implementationIdentifier, String implementationVendor) Container for specifying the type of descriptor. -
Method Summary
Modifier and TypeMethodDescriptionIdentifier for this implementation which must include version information.Human-readable name for the implementation for the algorithm specified by the reference.Human-readable name for the vendor that holds copyright for this implementation.Pointer to a dictionary or ontology describing a unique algorithm.
-
Constructor Details
-
DescriptorSpecification
public DescriptorSpecification(String specificationReference, String implementationTitle, String implementationIdentifier, String implementationVendor) Container for specifying the type of descriptor.- Parameters:
specificationReference
- Reference to a formal definition in a dictionary (e.g. in STMML format) of the descriptor, preferably referring to the original article. The format of the content is expected to be <dictionaryNameSpace>:<entryID>.implementationTitle
- Title for the implementation of the descriptor for which the algorithm is given by the specification.implementationIdentifier
- Unique identifier for the actual implementation, preferably including the exact version number of the source code. E.g. $Id$ can be used when the source code is in a CVS repository.implementationVendor
- Name of the organisation/person/program/whatever who wrote/packaged the implementation.
-
DescriptorSpecification
public DescriptorSpecification(String specificationReference, String implementationTitle, String implementationVendor) Container for specifying the type of descriptor. The specificationIdentifier is defined by the CDK version.- Parameters:
specificationReference
- Reference to a formal definition in a dictionary (e.g. in STMML format) of the descriptor, preferably referring to the original article. The format of the content is expected to be <dictionaryNameSpace>:<entryID>.implementationTitle
- Title for the implementation of the descriptor for which the algorithm is given by the specification.implementationVendor
- Name of the organisation/person/program/whatever who wrote/packaged the implementation.
-
-
Method Details
-
getSpecificationReference
Description copied from interface:IImplementationSpecification
Pointer to a dictionary or ontology describing a unique algorithm.- Specified by:
getSpecificationReference
in interfaceIImplementationSpecification
- Returns:
- the URN pointing to a (virtual) dictionary or ontology.
-
getImplementationTitle
Description copied from interface:IImplementationSpecification
Human-readable name for the implementation for the algorithm specified by the reference.- Specified by:
getImplementationTitle
in interfaceIImplementationSpecification
- Returns:
- the name of this implementation
-
getImplementationIdentifier
Description copied from interface:IImplementationSpecification
Identifier for this implementation which must include version information. The format is free.- Specified by:
getImplementationIdentifier
in interfaceIImplementationSpecification
- Returns:
- a free format identifier for this implementation
-
getImplementationVendor
Description copied from interface:IImplementationSpecification
Human-readable name for the vendor that holds copyright for this implementation.- Specified by:
getImplementationVendor
in interfaceIImplementationSpecification
- Returns:
- the copyright holder of the implementation
-