ilog.rules.factory.translation

Class IlrTranslationConfiguration

  • java.lang.Object
    • ilog.rules.factory.translation.IlrTranslationConfiguration
  • All Implemented Interfaces:
    java.io.Serializable


    public class IlrTranslationConfiguration
    extends java.lang.Object
    implements java.io.Serializable
    Translation configuration. It contains class translations.
    Since:
    JRules 6.0
    See Also:
    Serialized Form
    • Constructor Detail

      • IlrTranslationConfiguration

        public IlrTranslationConfiguration()
        Creates a translation configuration.
    • Method Detail

      • addClassTranslation

        public void addClassTranslation(IlrClassTranslation classTranslation)
        Adds a class translation. If the class translation already exists, the new one is not taken into account. Thus, to replace an existing class translation, you must first remove it by calling removeClassTranslation(String).
        Parameters:
        classTranslation - The class translation.
      • removeClassTranslation

        public boolean removeClassTranslation(java.lang.String businessName)
        Removes a class translation.
        Parameters:
        businessName - The business class name.
        Returns:
        true if the class translation has been removed.
      • getClassTranslation

        public IlrClassTranslation getClassTranslation(java.lang.String businessName)
        Gets a class translation.
        Parameters:
        businessName - The business class name.
        Returns:
        The class translation for the given business class name.
      • getClassTranslations

        public java.util.Iterator getClassTranslations()
        Returns an iterator over all class translations.
        Returns:
        An iterator over all class translations.

© Copyright IBM Corp. 1987, 2017