public class DatasourceChannel extends java.lang.Object implements java.lang.Comparable<DatasourceChannel>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
id
ID of the channel
|
protected java.lang.String |
name
Name of the channel
|
Constructor and Description |
---|
DatasourceChannel(int id,
java.lang.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
|
java.lang.String |
getName()
Get the channel name
|
java.lang.String |
toString() |
protected int id
protected java.lang.String name
public DatasourceChannel(int id, java.lang.String name)
id
- idname
- namepublic int getId()
public java.lang.String getName()
public boolean equals(DatasourceChannel that)
public int compareTo(DatasourceChannel that)
compareTo
in interface java.lang.Comparable<DatasourceChannel>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2020 Gentics Software. All Rights Reserved.