Interface StructureEntityCapability

    • Method Detail

      • isEmptyStructuresAllowed

        boolean isEmptyStructuresAllowed()
        Says if this structure entity can store empty structures.
        Returns:
        true if this structure entity can store empty structures, false otherwise
      • getJchemTableType

        int getJchemTableType()
        Returns the JChem table type for this structure entity. The type is defined by one of the TableType constants. Choose the most specific table type for the type of structures you have as this will give you the optimal search features. Note: the naming of this method is inconsistent. It should be getJChemTableType().
        Returns:
        The table type
      • supportsNonHits

        boolean supportsNonHits()
        Says if this structure entity supports non-hit search (set complement of a search).
        Returns:
        true if this structure entity supports non-hit search, false otherwise
        Since:
        20.4.0
      • supportedOperators

        java.util.List<DFOperator> supportedOperators()
        Structure operators supported by this entity.
        Returns:
        supported structure operators
      • supportsOptions

        default boolean supportsOptions​(DFOperator operator)
        Says if given DFOperator can have one or more options for this structure entity type.
        Parameters:
        operator - operator to check
        Returns:
        true if given operator has one or more options, false if no options are available for given operator and this entity type
      • defaultJChemSearchOptions

        default chemaxon.sss.search.JChemSearchOptions defaultJChemSearchOptions​(DFOperator op)
        Creates default JChemSearchOptions for the specific operator.
        Parameters:
        op - structure operator
        Returns:
        new JChemSearchOptions instance
      • newJChemSearchOptionsFromOld

        chemaxon.sss.search.JChemSearchOptions newJChemSearchOptionsFromOld​(chemaxon.sss.search.JChemSearchOptions oldOptions,
                                                                            DFOperator op)
        Creates new JChemSearchOptions based on old options for the specific operator. Sets default values.
        Parameters:
        oldOptions - original JChemSearchOptions, can be null
        op - structure operator
        Returns:
        new JChemSearchOptions instance