ilog.rules.dvs.rsi

Interface IlrRulesetVerbalizationProvider



  • public interface IlrRulesetVerbalizationProvider
    Provides verbalization for a ruleset.
    • Method Detail

      • getLocale

        java.util.Locale getLocale()
        Returns the locale this instance provides localization for.
        Returns:
        The locale this instance provides localization for.
      • getBOMTypeVerbalization

        java.lang.String getBOMTypeVerbalization(java.lang.String theBOMType)
        Returns the verbalization for a BOM type.
        Parameters:
        theBOMType - The BOM type.
        Returns:
        The verbalization for theBOMType. If no verbalization is defined, theBOMType is returned.
      • getBOMTypeAttributeVerbalization

        java.lang.String getBOMTypeAttributeVerbalization(java.lang.String theBOMType,
                                                        java.lang.String theAttributeName)
        Returns the verbalization for a BOM type attribute.
        Parameters:
        theBOMType - The BOM type.
        theAttributeName - The attribute name.
        Returns:
        The verbalization for theAttributeName of theBOMType. If theAttributeName is not verbalized, theAttributeName is returned.
      • getBOMTypeDomainValueVerbalization

        java.lang.String getBOMTypeDomainValueVerbalization(java.lang.String theBOMType,
                                                          java.lang.String theDomainValue)
        Returns the verbalization for a domain value for a BOM type.
        Parameters:
        theBOMType - The BOM type.
        theDomainValue - The domain value.
        Returns:
        The verbalization for theDomainValue of theBOMType. If theDomainValue is not verbalized, theDomainValue is returned.
      • getRulesetParameterVerbalization

        java.lang.String getRulesetParameterVerbalization(java.lang.String theRulesetParameterName)
        Returns the verbalization for a ruleset parameter.
        Parameters:
        theRulesetParameterName - The name of the ruleset parameter.
        Returns:
        The verbalization for theRulesetParameterName. If no verbalization is defined, theRulesetParameterName is returned.
      • getVocabulary

        IlrVocabulary getVocabulary()
        Returns the vocabulary used by this provider to verbalize the ruleset BOM.
        Returns:
        The vocabulary used by this provider to verbalize the ruleset BOM.
      • useDefaultVerbalizationWhenNoneAvailable

        boolean useDefaultVerbalizationWhenNoneAvailable()
        Signals if this instance generates a default verbalization for attributes when none is available.
        Since:
        7.1
        Returns:
        true of false.
      • setUseDefaultVerbalizationWhenNoneAvailable

        void setUseDefaultVerbalizationWhenNoneAvailable(boolean theFlag)
        Sets if this instance must generate a default verbalization for attributes when none is available.
        Since:
        7.1
        Parameters:
        theFlag - true if default verbalization should be generated, false otherwise.

© Copyright IBM Corp. 1987, 2017