Class Mass

  • All Implemented Interfaces:
    Cloneable

    @PublicAPI
    public class Mass
    extends ScalarDescriptor
    Implements Mass (total mass of molecule) value as a scalar descriptor. Is like molecular weight but it is actually mass, so we should call it mass and not weight.
    Since:
    JChem 2.2
    • Constructor Detail

      • Mass

        public Mass()
        Creates a new, empty logD descriptor.
      • Mass

        public Mass​(SDParameters params)
        Creates a new instance according to the parameters given.
        Parameters:
        params - parameters
      • Mass

        public Mass​(String params)
        Creates a new instance according to the parameters given.
        Parameters:
        params - parameter settings
      • Mass

        public Mass​(ScalarDescriptor sd)
        Copy constructor. An identical copy of the ScalarDescriptor passed is created. The old and the new instances share the same MassParameters object.
        Parameters:
        sd - a fingerprint to be copied
    • Method Detail

      • getName

        public String getName()
        Gets the name of the Mass descriptor object. The name is not the same as the class name, but nicer, and more meaningful for end-users too.
        Overrides:
        getName in class ScalarDescriptor
        Returns:
        the nice, external name for logD descriptor class objects
      • getShortName

        public String getShortName()
        Gets the short name of the descriptor.
        Overrides:
        getShortName in class ScalarDescriptor
        Returns:
        the short name used in text outputs (tables etc.)
      • getParametersClassName

        public String getParametersClassName()
        Gets the name of the parameters class corresponding to the descriptor.
        Overrides:
        getParametersClassName in class ScalarDescriptor
        Returns:
        the name of the parameters class
      • needsConfig

        public boolean needsConfig()
        Indicates if class takes parameters from configuration file.
        Overrides:
        needsConfig in class MolecularDescriptor
        Returns:
        false