Class SunSChannelId<T>

  • All Implemented Interfaces:
    ChannelId

    public class SunSChannelId<T>
    extends java.lang.Object
    implements ChannelId
    • 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.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

        id
    • Constructor Detail

      • SunSChannelId

        public SunSChannelId​(java.lang.String name,
                             AbstractDoc<T> 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object