public class HourOfDayTranslator extends java.lang.Object implements IlrValueTranslator
| Constructor and Description |
|---|
HourOfDayTranslator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowValueWrapping()
Indicates if the text returned by
IlrValueTranslator.translateValue(String, IlrConcept, IlrVocabulary) can be wrapped by the CodeGenerator. |
java.lang.String |
translateValue(java.lang.String value,
IlrConcept concept,
IlrVocabulary vocabulary)
Generates IRL code from a value string.
|
public java.lang.String translateValue(java.lang.String value,
IlrConcept concept,
IlrVocabulary vocabulary)
IlrValueTranslatortranslateValue in interface IlrValueTranslatorvalue - The string representing the value, as it is saved in the abstract syntax tree.concept - The concept.vocabulary - The vocabulary.public boolean allowValueWrapping()
IlrValueTranslatorIlrValueTranslator.translateValue(String, IlrConcept, IlrVocabulary) can be wrapped by the CodeGenerator.allowValueWrapping in interface IlrValueTranslator© Copyright IBM Corp. 1987, 2017