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

com.airlenet.repo.domain.Node Maven / Gradle / Ivy

The newest version!
package com.airlenet.repo.domain;

import java.util.List;

public class Node> {

	private T data;
	private List> children;

	private Boolean checked;
	private Boolean expanded;

	private String text;

	private String iconCls;

	public boolean getLeaf() {
		List> children = getChildren();
		return children == null || children.size() == 0;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public List> getChildren() {
		return children;
	}

	public void setChildren(List> children) {
		this.children = children;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public Boolean getExpanded() {
		return expanded;
	}

	public void setExpanded(Boolean expanded) {
		this.expanded = expanded;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy