Class ChannelIdImpl

  • All Implemented Interfaces:
    ChannelId

    public class ChannelIdImpl
    extends java.lang.Object
    implements ChannelId
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelIdImpl​(java.lang.String name, Doc doc)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Doc doc()
      Gets the Channel Doc for this ChannelId.
      java.lang.String name()
      Gets the name in format CaseFormat.UPPER_UNDERSCORE.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.openems.edge.common.channel.ChannelId

        id
    • Constructor Detail

      • ChannelIdImpl

        public ChannelIdImpl​(java.lang.String name,
                             Doc doc)
    • Method Detail

      • name

        public java.lang.String name()
        Description copied from interface: ChannelId
        Gets the name in format CaseFormat.UPPER_UNDERSCORE. This is available by default for an Enum.

        Names starting with underscore ("_") are reserved for internal usage.

        Specified by:
        name in interface ChannelId
        Returns:
        the name
      • doc

        public Doc doc()
        Description copied from interface: ChannelId
        Gets the Channel Doc for this ChannelId.
        Specified by:
        doc in interface ChannelId
        Returns:
        the Channel-Doc