public class ChannelTreeNode extends java.lang.Object implements java.lang.Comparable<ChannelTreeNode>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected DatasourceChannel |
channel
The channel of this tree node
|
protected java.util.List<ChannelTreeNode> |
children
List of children
|
Constructor and Description |
---|
ChannelTreeNode(DatasourceChannel channel)
Create an instance for the given channel
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ChannelTreeNode that) |
boolean |
equals(ChannelTreeNode that) |
DatasourceChannel |
getChannel()
Get the channel
|
java.util.List<ChannelTreeNode> |
getChildren()
Get the list of children
|
java.lang.String |
toString() |
protected DatasourceChannel channel
protected java.util.List<ChannelTreeNode> children
public ChannelTreeNode(DatasourceChannel channel)
channel
- channelpublic DatasourceChannel getChannel()
public java.util.List<ChannelTreeNode> getChildren()
public boolean equals(ChannelTreeNode that)
public int compareTo(ChannelTreeNode that)
compareTo
in interface java.lang.Comparable<ChannelTreeNode>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2020 Gentics Software. All Rights Reserved.