public class IndexedChannel extends AnchorBean<IndexedChannel>
Channel
to be read from a file, identified by its position (index) in the
file.
A name is also assigned by the user.
Constructor and Description |
---|
IndexedChannel(String name,
int index) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
The index (starting at zero) of this
Channel relative to others. |
String |
getName()
The name of the
Channel this entry represents. |
void |
setIndex(int index)
The index (starting at zero) of this
Channel relative to others. |
void |
setName(String name)
The name of the
Channel this entry represents. |
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public IndexedChannel(String name, int index)
public String getName()
Channel
this entry represents.
This has no link to the underlying file, and may be assigned by the user, as makes sense.
public void setName(String name)
Channel
this entry represents.
This has no link to the underlying file, and may be assigned by the user, as makes sense.
public int getIndex()
Channel
relative to others.public void setIndex(int index)
Channel
relative to others.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.