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

org.macrocloud.kernel.toolkit.node.ForestNode Maven / Gradle / Ivy

There is a newer version: 1.1.0-RELEASE
Show newest version
package org.macrocloud.kernel.toolkit.node;

import lombok.Data;
import lombok.EqualsAndHashCode;



/**
 * 森林节点类.
 *
 * @author macro
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class ForestNode extends BaseNode {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;

	/** 节点内容. */
	private Object content;

	/**
	 * Instantiates a new forest node.
	 *
	 * @param id the id
	 * @param parentId the parent id
	 * @param content the content
	 */
	public ForestNode(Long id, Long parentId, Object content) {
		this.id = id;
		this.parentId = parentId;
		this.content = content;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy