com.github.zthulj.zcopybook.model.Node Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zCopybook Show documentation
Show all versions of zCopybook Show documentation
Library helping to convert positionnal inputs (cobol) to json, using a copybook format
The newest version!
package com.github.zthulj.zcopybook.model;
import lombok.*;
import java.io.Serializable;
import java.util.List;
@AllArgsConstructor(access=AccessLevel.PROTECTED)
@Getter
@ToString(exclude="parentNode")
@EqualsAndHashCode(exclude="parentNode")
public abstract class Node implements Serializable {
private static final long serialVersionUID = -3514066933920187128L;
private final ParentNode parentNode;
private final boolean parent;
public abstract int copyInto(ParentNode destination, int cursorPosition, String name);
public abstract List> getAllValueNodes();
}