public class BlockInfo extends Object
| Constructor and Description |
|---|
BlockInfo(com.helger.jcodemodel.JBlock block) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListParam(BeamMethod beamMethod,
com.helger.jcodemodel.AbstractJType paramType,
String paramName) |
BlockInfo |
beamMethod(BeamMethod beamMethod) |
BeamMethod |
createMethod(String localName,
com.helger.jcodemodel.AbstractJType returnType) |
BlockInfo |
errorBuilderVar(com.helger.jcodemodel.JVar errorBuilderVar) |
BeamMethod |
getBeamMethod() |
com.helger.jcodemodel.JBlock |
getBlock() |
BeamEnumInfo |
getEnumInfo() |
com.helger.jcodemodel.JVar |
getEnumMember(ShowlEffectiveNodeShape enumNode) |
com.helger.jcodemodel.JVar |
getErrorBuilderVar() |
com.helger.jcodemodel.JVar |
getListVar()
Get the List to which this block will add elements.
|
com.helger.jcodemodel.JVar |
getMappedVar(com.helger.jcodemodel.JVar key) |
com.helger.jcodemodel.JVar |
getOptionsVar() |
com.helger.jcodemodel.JVar |
getOutputRow()
The row that this block is expected to populate.
|
BeamPropertySink |
getPropertySink() |
com.helger.jcodemodel.JVar |
getPropertyValue(ShowlPropertyShapeGroup group) |
com.helger.jcodemodel.JVar |
getPropertyValueOrFail(ShowlPropertyShapeGroup group) |
com.helger.jcodemodel.JVar |
getTableRowVar(ShowlEffectiveNodeShape node) |
String |
nextSetName() |
BlockInfo |
outputRow(com.helger.jcodemodel.JVar outputRow)
Set the row that this block is expected to populate
|
void |
putEnumMember(ShowlEffectiveNodeShape enumNode,
com.helger.jcodemodel.JVar enumVar) |
void |
putMappedVar(com.helger.jcodemodel.JVar key,
com.helger.jcodemodel.JVar value) |
void |
putPropertyValue(ShowlPropertyShapeGroup group,
com.helger.jcodemodel.JVar value) |
void |
putTableRow(ShowlEffectiveNodeShape node,
com.helger.jcodemodel.JVar tableRowVar) |
void |
setBlock(com.helger.jcodemodel.JBlock block) |
void |
setEnumInfo(BeamEnumInfo enumInfo) |
void |
setListVar(com.helger.jcodemodel.JVar listVar)
Set the list to which this block will add elements.
|
void |
setOptionsVar(com.helger.jcodemodel.JVar optionsVar) |
void |
setPropertySink(BeamPropertySink propertySink) |
String |
valueName(ShowlExpression e) |
String |
varName(String baseName) |
String |
varNameFor(ShowlNodeShape enumNode) |
public BeamMethod getBeamMethod()
public BlockInfo beamMethod(BeamMethod beamMethod)
public void setBlock(com.helger.jcodemodel.JBlock block)
public com.helger.jcodemodel.JVar getOutputRow()
public BlockInfo outputRow(com.helger.jcodemodel.JVar outputRow)
public com.helger.jcodemodel.JVar getListVar()
public void setListVar(com.helger.jcodemodel.JVar listVar)
public BeamEnumInfo getEnumInfo()
public void setEnumInfo(BeamEnumInfo enumInfo)
public com.helger.jcodemodel.JVar getOptionsVar()
throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic void setOptionsVar(com.helger.jcodemodel.JVar optionsVar)
public com.helger.jcodemodel.JVar getErrorBuilderVar()
throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic BlockInfo errorBuilderVar(com.helger.jcodemodel.JVar errorBuilderVar)
public String valueName(ShowlExpression e)
public String nextSetName()
public com.helger.jcodemodel.JBlock getBlock()
public void addListParam(BeamMethod beamMethod, com.helger.jcodemodel.AbstractJType paramType, String paramName) throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic BeamPropertySink getPropertySink() throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic void setPropertySink(BeamPropertySink propertySink)
public BeamMethod createMethod(String localName, com.helger.jcodemodel.AbstractJType returnType) throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic void putTableRow(ShowlEffectiveNodeShape node, com.helger.jcodemodel.JVar tableRowVar)
public com.helger.jcodemodel.JVar getTableRowVar(ShowlEffectiveNodeShape node)
public com.helger.jcodemodel.JVar getPropertyValue(ShowlPropertyShapeGroup group)
public void putPropertyValue(ShowlPropertyShapeGroup group, com.helger.jcodemodel.JVar value)
public void putEnumMember(ShowlEffectiveNodeShape enumNode, com.helger.jcodemodel.JVar enumVar)
public com.helger.jcodemodel.JVar getEnumMember(ShowlEffectiveNodeShape enumNode) throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic String varNameFor(ShowlNodeShape enumNode) throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic String varName(String baseName) throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic void putMappedVar(com.helger.jcodemodel.JVar key,
com.helger.jcodemodel.JVar value)
public com.helger.jcodemodel.JVar getMappedVar(com.helger.jcodemodel.JVar key)
throws BeamTransformGenerationException
BeamTransformGenerationExceptionpublic com.helger.jcodemodel.JVar getPropertyValueOrFail(ShowlPropertyShapeGroup group) throws BeamTransformGenerationException
BeamTransformGenerationExceptionCopyright © 2019. All rights reserved.