All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zthulj.zcopybook.model.Node Maven / Gradle / Ivy

Go to download

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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy