public class IlrIRLCastValueTranslator extends IlrValueTranslatorAdapter
property valueTranslator.irl "ilog.rules.brl.translation.codegen.IlrIRLCastValueTranslator#Adapted(ilog.rules.brl.translation.codegen.IlrIRLNumberValueTranslator)"
This property "adapt" with a cast the translation of numerical literal values of this concept.
adaptedValueTranslator| Constructor and Description |
|---|
IlrIRLCastValueTranslator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
translateValue(java.lang.String value,
IlrConcept concept,
IlrSyntaxTree.Node node,
IlrVocabulary vocabulary)
Prints a cast of
value using the specified concept. |
java.lang.String |
translateValue(java.lang.String value,
IlrConcept concept,
IlrVocabulary vocabulary)
Prints a cast of
value using the specified concept. |
adapt, allowValueWrapping, translateAdaptedValue, translateAdaptedValuepublic java.lang.String translateValue(java.lang.String value,
IlrConcept concept,
IlrVocabulary vocabulary)
value using the specified concept.translateValue in interface IlrValueTranslatortranslateValue in class IlrAbstractValueTranslatorvalue - The string representing the value, as it is saved in the abstract syntax tree.concept - The concept.vocabulary - The vocabulary.public java.lang.String translateValue(java.lang.String value,
IlrConcept concept,
IlrSyntaxTree.Node node,
IlrVocabulary vocabulary)
value using the specified concept.translateValue in interface IlrValueTranslatorExtensiontranslateValue in class IlrValueTranslatorAdaptervalue - The value.concept - The concept.node - The syntax tree node.vocabulary - The vocabulary.© Copyright IBM Corp. 1987, 2017