Class IndexedChannel


public class IndexedChannel extends AnchorBean<IndexedChannel>
A particular Channel to be read from a file, identified by its position (index) in the file.

A name is also assigned by the user.

Author:
Owen Feehan
  • Constructor Details

    • IndexedChannel

      public IndexedChannel(String name, int index)
      Creates a new IndexedChannel instance.
      Parameters:
      name - The name of the Channel this entry represents.

      This has no link to the underlying file, and may be assigned by the user, as makes sense.

      index - The index (starting at zero) of this Channel relative to others.
  • Method Details

    • getName

      public String getName()
      The name of the Channel this entry represents.

      This has no link to the underlying file, and may be assigned by the user, as makes sense.

    • setName

      public void setName(String name)
      The name of the Channel this entry represents.

      This has no link to the underlying file, and may be assigned by the user, as makes sense.

    • getIndex

      public int getIndex()
      The index (starting at zero) of this Channel relative to others.
    • setIndex

      public void setIndex(int index)
      The index (starting at zero) of this Channel relative to others.