public class DatasourceChannel extends Object implements Comparable<DatasourceChannel>, Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
id
ID of the channel
|
protected String |
name
Name of the channel
|
Constructor and Description |
---|
DatasourceChannel(int id,
String name)
Create an instance with given id and name
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DatasourceChannel that) |
boolean |
equals(DatasourceChannel that) |
int |
getId()
Get the channel id
|
String |
getName()
Get the channel name
|
String |
toString() |
protected int id
protected String name
public DatasourceChannel(int id, String name)
id
- idname
- namepublic int getId()
public String getName()
public boolean equals(DatasourceChannel that)
public int compareTo(DatasourceChannel that)
compareTo
in interface Comparable<DatasourceChannel>
Copyright © 2017 Gentics Software. All Rights Reserved.