Class EmptyCodeAttributeNodeGenerator
java.lang.Object
org.faktorips.devtools.model.internal.builder.flidentifier.IdentifierNodeGenerator<org.faktorips.codegen.JavaCodeFragment>
org.faktorips.devtools.model.plainjava.internal.fl.EmptyCodeAttributeNodeGenerator
public class EmptyCodeAttributeNodeGenerator
extends org.faktorips.devtools.model.internal.builder.flidentifier.IdentifierNodeGenerator<org.faktorips.codegen.JavaCodeFragment>
JavaGenerator for an
AttributeNode. Supports both policy- and product-attributes.
Examples in the formula language: "policy.premium" (gets the value of attribute "premium" from
policy) and "policy.paymentMode" (gets the value "paymentMode" from the configuring product
component).- Since:
- 23.1
-
Field Summary
Fields inherited from class org.faktorips.devtools.model.internal.builder.flidentifier.IdentifierNodeGenerator
DEFAULT_VALUE_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionEmptyCodeAttributeNodeGenerator(org.faktorips.devtools.model.internal.builder.flidentifier.IdentifierNodeGeneratorFactory<org.faktorips.codegen.JavaCodeFragment> nodeBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.faktorips.fl.CompilationResult<org.faktorips.codegen.JavaCodeFragment>getCompilationResultForCurrentNode(org.faktorips.devtools.model.internal.builder.flidentifier.ast.IdentifierNode identifierNode, org.faktorips.fl.CompilationResult<org.faktorips.codegen.JavaCodeFragment> contextCompilationResult) Methods inherited from class org.faktorips.devtools.model.internal.builder.flidentifier.IdentifierNodeGenerator
generateNode, getGeneratorFor, getNodeGeneratorFactory
-
Constructor Details
-
EmptyCodeAttributeNodeGenerator
public EmptyCodeAttributeNodeGenerator(org.faktorips.devtools.model.internal.builder.flidentifier.IdentifierNodeGeneratorFactory<org.faktorips.codegen.JavaCodeFragment> nodeBuilderFactory)
-
-
Method Details
-
getCompilationResultForCurrentNode
protected org.faktorips.fl.CompilationResult<org.faktorips.codegen.JavaCodeFragment> getCompilationResultForCurrentNode(org.faktorips.devtools.model.internal.builder.flidentifier.ast.IdentifierNode identifierNode, org.faktorips.fl.CompilationResult<org.faktorips.codegen.JavaCodeFragment> contextCompilationResult)
-