ILOG JRules

ilog.rules.brl.translation
Class IlrActionCodeStatement

java.lang.Object
  extended by ilog.rules.brl.translation.IlrStatement
      extended by ilog.rules.brl.translation.IlrActionStatement
          extended by ilog.rules.brl.translation.IlrActionCodeStatement
All Implemented Interfaces:
IlrCodeStatement, IlrNamedStatement, Serializable

public class IlrActionCodeStatement
extends IlrActionStatement
implements IlrCodeStatement

Defines a code statement for the action part.

See Also:
Serialized Form

Constructor Summary
IlrActionCodeStatement()
           
 
Method Summary
 String getCodeFor(String targetLanguage)
          Returns the code for the specified target language.
 void setCodeFor(String code, String targetLanguage)
          Sets the code for the specified target language.
 
Methods inherited from class ilog.rules.brl.translation.IlrActionStatement
getConcept, getParent, getVarName, setConcept, setVarName
 
Methods inherited from class ilog.rules.brl.translation.IlrStatement
accept, getNode, hasTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrActionCodeStatement

public IlrActionCodeStatement()
Method Detail

setCodeFor

public void setCodeFor(String code,
                       String targetLanguage)
Sets the code for the specified target language.

Parameters:
code - The code to be printed.

getCodeFor

public String getCodeFor(String targetLanguage)
Returns the code for the specified target language.

Specified by:
getCodeFor in interface IlrCodeStatement
Parameters:
targetLanguage - The target language.
Returns:
The code for the specified target language.

ILOG JRules