org.macrocloud.kernel.toolkit.node.INode Maven / Gradle / Ivy
package org.macrocloud.kernel.toolkit.node;
import java.io.Serializable;
import java.util.List;
/**
* Created by kernel.
*/
public interface INode extends Serializable {
/**
* 主键.
*/
Long getId();
/**
* 父主键.
*/
Long getParentId();
/**
* 子孙节点.
*/
List getChildren();
/**
* 是否有子孙节点.
*
* @return Boolean
*/
default Boolean getHasChildren() {
return false;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy