|
Rule Designer API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectilog.rules.brl.IlrBRLRuleElementTranslatorInput
public class IlrBRLRuleElementTranslatorInput
This class is an implementation of IlrTranslatorInput which uses information of the given IlrBRLRuleElement. An instance of this class is initialized with an IlrBRLRuleElement and should be given to a BRL Translator when translating the rule.
| Constructor Summary | |
|---|---|
IlrBRLRuleElementTranslatorInput(IlrBRLRuleElement rule)
This constructor initialize a translator input with a rule represented by an instance of IlrBRLRuleElement |
|
| Method Summary | |
|---|---|
IlrBRLRuleElement |
getBRLRuleElement()
This method returns the BRLRuleElement associated to this translator input |
String |
getBusinessName()
This method returns the business name of the translator input. |
String |
getDocumentation()
Gets the documentation of the element to translate. |
IlrBRLLogger |
getLogger()
Gets the BRL logger associated to this translator input. |
String |
getName()
Gets the name of the rule as it will be printed in generated code. |
String |
getPackageBusinessName()
This method returns the business name of the package enclosing this translator input. |
String |
getPackageName()
Gets the name of the package as it will be printed in generated code. |
Map |
getProperties()
Gets the map of properties of the element to translate. |
IlrSyntaxTree |
getSyntaxTree()
Gets the syntax tree of the element to translate. |
void |
setBRLRuleElement(IlrBRLRuleElement element)
set the BRLRuleElement associated to this translator element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlrBRLRuleElementTranslatorInput(IlrBRLRuleElement rule)
rule - the rule associated to this translator input, cannot be null.| Method Detail |
|---|
public IlrBRLRuleElement getBRLRuleElement()
public void setBRLRuleElement(IlrBRLRuleElement element)
element - public IlrSyntaxTree getSyntaxTree()
IlrTranslatorInput
getSyntaxTree in interface IlrTranslatorInputpublic String getName()
IlrTranslatorInput
getName in interface IlrTranslatorInputpublic String getBusinessName()
IlrTranslatorInputExtension
getBusinessName in interface IlrTranslatorInputExtensionpublic String getPackageName()
IlrTranslatorInput
getPackageName in interface IlrTranslatorInputnull.public String getPackageBusinessName()
IlrTranslatorInputExtension
getPackageBusinessName in interface IlrTranslatorInputExtensionpublic Map getProperties()
IlrTranslatorInput
getProperties in interface IlrTranslatorInputpublic String getDocumentation()
IlrTranslatorInput
getDocumentation in interface IlrTranslatorInputpublic IlrBRLLogger getLogger()
IlrTranslatorInput
getLogger in interface IlrTranslatorInputIlrBRLLogger.
|
Rule Designer API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||