Rule Execution Server API

ilog.rules.factory.translation
Class IlrTranslationConfiguration

java.lang.Object
  extended by ilog.rules.factory.translation.IlrTranslationConfiguration
All Implemented Interfaces:
Serializable

public class IlrTranslationConfiguration
extends Object
implements Serializable

Translation configuration. It contains class translations.

Since:
JRules 6.0
See Also:
Serialized Form

Constructor Summary
IlrTranslationConfiguration()
          Creates a translation configuration.
 
Method Summary
 void addClassTranslation(IlrClassTranslation classTranslation)
          Adds a class translation.
 IlrTranslationConstants.CaseSensitivity getCaseSensitivity()
          Gets the global case sensitivity for member look-up.
 IlrClassTranslation getClassTranslation(String businessName)
          Gets a class translation.
 Iterator getClassTranslations()
          Returns an iterator over all class translations.
 boolean removeClassTranslation(String businessName)
          Removes a class translation.
 void setCaseSensitivity(IlrTranslationConstants.CaseSensitivity caseSensitivity)
          Sets the global case sentivity for member look-up.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrTranslationConfiguration

public IlrTranslationConfiguration()
Creates a translation configuration.

Method Detail

setCaseSensitivity

public void setCaseSensitivity(IlrTranslationConstants.CaseSensitivity caseSensitivity)
Sets the global case sentivity for member look-up.

Since:
JRules 6.1

getCaseSensitivity

public IlrTranslationConstants.CaseSensitivity getCaseSensitivity()
Gets the global case sensitivity for member look-up.

Since:
JRules 6.1

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(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(String businessName)
Gets a class translation.

Parameters:
businessName - The business class name.
Returns:
The class translation for the given business class name.

getClassTranslations

public Iterator getClassTranslations()
Returns an iterator over all class translations.

Returns:
An iterator over all class translations.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013