Class ChannelTypeUID


@NonNullByDefault public class ChannelTypeUID extends UID
The ChannelTypeUID represents a unique identifier for channel types.
Author:
Dennis Nobel - Initial contribution, Jochen Hiller - Bugfix 455434: added default constructor, Dennis Nobel - Javadoc added
  • Constructor Details

    • ChannelTypeUID

      public ChannelTypeUID(String channelUid)
      Creates a new instance of this class with the specified parameter.
      Parameters:
      channelUid - the UID for the channel
    • ChannelTypeUID

      public ChannelTypeUID(String bindingId, String id)
      Creates a new instance of this class with the specified parameter.
      Parameters:
      bindingId - the binding ID
      id - the identifier of the channel
  • Method Details

    • getId

      public String getId()
      Returns the identifier of the channel.
      Returns:
      the identifier of the channel (neither null, nor empty)
    • getMinimalNumberOfSegments

      protected int getMinimalNumberOfSegments()
      Description copied from class: AbstractUID
      Specifies how many segments the UID has to have at least.
      Specified by:
      getMinimalNumberOfSegments in class AbstractUID
      Returns:
      the number of segments