Class WicaChannelName

java.lang.Object
ch.psi.wica.model.channel.WicaChannelName

@Immutable public class WicaChannelName extends Object
Represents the name of a wica channel which comprises the name by which it is known in the underlying control system (that is the control system name), the means of communicating with it (that is the network protocol), and an instance specifier (required to ensure name uniqueness if a control point is used multiple times).
  • Method Details

    • of

      public static WicaChannelName of(String strSpecifier)
    • getProtocol

      public Optional<WicaChannelName.Protocol> getProtocol()
    • getControlSystemName

      public ControlSystemName getControlSystemName()
    • getInstance

      public Optional<Integer> getInstance()
    • asString

      public String asString()
      Returns a string representation of the channel name that is intended to be future-proof.
      Returns:
      the representation.
    • toString

      public String toString()
      Returns a string representation of the channel name suitable for user display and/or diagnostic purposes and which may be subject to future change.
      Overrides:
      toString in class Object
      Returns:
      the representation.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object