Annotation Type CaChannel


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface CaChannel
    Annotation to annotate channels
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] name
      Name of channel
      java.lang.Class<?> type
      Data type of Channel value
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean monitor
      Flag whether to monitor the channel or not (default: false) If using monitor=true the ChannelBean type must match the type of the Channel Access channel.
    • Element Detail

      • type

        java.lang.Class<?> type
        Data type of Channel value
        Returns:
        Data type of the channel
      • name

        java.lang.String[] name
        Name of channel
        Returns:
        Name of the channel
      • monitor

        boolean monitor
        Flag whether to monitor the channel or not (default: false) If using monitor=true the ChannelBean type must match the type of the Channel Access channel. i.e. you must not set a ChannelBean<Double> on monitor when it is bound to a Channel Access channel of type String.
        Returns:
        Monitor yes/no
        Default:
        false