...
Code Block |
---|
@Getter @Setter @RpcPart public class DepndonItemVec { @FieldAttributes(attributes = { @Attribute(key = DynamicConstants.DEPENDING_ON, value = "dfhcommarea.itemNum") }) @RpcField(originalName = "ITEM-ELEM", displayName = "ITEMELEM") @RpcList(count = 010) private List<DepndonItemElem> itemElem; } |
...
Code Block |
---|
@FieldAttributes(attributes = {
@Attribute(key = DynamicConstants.DEPENDS_ON, value = "true")
}) |
...
Manual Changes
When the counter field is not well defined on the legacy source, some manual changes are required.
...
Code Block |
---|
@FieldAttributes(attributes = {
@Attribute(key = DynamicConstants.DEPENDS_ON, value = "path.to.the.counter field")
}) |
Now you are ready to go.