public class ChannelTreeNode extends Object implements Comparable<ChannelTreeNode>, Serializable
Modifier and Type | Field and Description |
---|---|
protected DatasourceChannel |
channel
The channel of this tree node
|
protected 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
|
List<ChannelTreeNode> |
getChildren()
Get the list of children
|
String |
toString() |
protected DatasourceChannel channel
protected List<ChannelTreeNode> children
public ChannelTreeNode(DatasourceChannel channel)
channel
- channelpublic DatasourceChannel getChannel()
public List<ChannelTreeNode> getChildren()
public boolean equals(ChannelTreeNode that)
public int compareTo(ChannelTreeNode that)
compareTo
in interface Comparable<ChannelTreeNode>
Copyright © 2017 Gentics Software. All Rights Reserved.