public abstract class TargetPropertyGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BeamExpressionTransform |
etran |
| Constructor and Description |
|---|
TargetPropertyGenerator(BeamExpressionTransform etran) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addParameters(BeamMethod beamMethod,
ShowlPropertyShape targetProperty) |
protected void |
appendMethodNameSuffix(StringBuilder builder) |
protected void |
captureValue(ShowlPropertyShape targetProperty,
com.helger.jcodemodel.JVar var)
Set the value of a target property in the output row, but only if the value is well-defined.
|
static TargetPropertyGenerator |
create(BeamExpressionTransform etran,
ShowlDirectPropertyShape p) |
protected void |
fail(String pattern,
Object... arguments) |
BeamMethod |
generate(BeamMethod caller,
ShowlPropertyShape targetProperty) |
protected abstract void |
generateBody(BeamMethod beamMethod,
ShowlPropertyShape targetProperty) |
protected RdfJavaType |
returnType(ShowlPropertyShape targetProperty) |
protected BeamExpressionTransform etran
public TargetPropertyGenerator(BeamExpressionTransform etran)
public static TargetPropertyGenerator create(BeamExpressionTransform etran, ShowlDirectPropertyShape p) throws BeamTransformGenerationException
BeamTransformGenerationExceptionprotected void captureValue(ShowlPropertyShape targetProperty, com.helger.jcodemodel.JVar var) throws BeamTransformGenerationException
BeamTransformGenerationExceptionprotected void fail(String pattern, Object... arguments) throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic BeamMethod generate(BeamMethod caller, ShowlPropertyShape targetProperty) throws BeamTransformGenerationException
BeamTransformGenerationExceptionprotected void appendMethodNameSuffix(StringBuilder builder)
protected RdfJavaType returnType(ShowlPropertyShape targetProperty) throws BeamTransformGenerationException
BeamTransformGenerationExceptionprotected abstract void generateBody(BeamMethod beamMethod, ShowlPropertyShape targetProperty) throws BeamTransformGenerationException
BeamTransformGenerationExceptionprotected abstract void addParameters(BeamMethod beamMethod, ShowlPropertyShape targetProperty) throws BeamTransformGenerationException
BeamTransformGenerationExceptionCopyright © 2019. All rights reserved.