T - the node id typeA - the attachment biz object typepublic class PlainNode<T extends Serializable & Comparable<T>,A> extends Object implements Serializable, Cloneable
protected final T extends Serializable & Comparable<T> id
protected final T extends Serializable & Comparable<T> parentId
protected final boolean enabled
protected final boolean available
protected final A attach
public PlainNode(T id, T parentId, boolean enabled, boolean available, A attach)
id - the current node idparentId - the parent node idenabled - the node is enabledavailable - the current node is available(parent.available && this.available && this.enabled)attach - the attachment of biz objectCopyright © 2025. All rights reserved.