Class ChannelTypeUID


  • 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 Detail

      • 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 (must neither be null, nor empty)
        id - the identifier of the channel (must neither be null, nor empty)
    • Method Detail

      • 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: