Class WicaChannelData

java.lang.Object
ch.psi.wica.model.channel.WicaChannelData
Direct Known Subclasses:
WicaChannelDataSerializer.WicaChannelDataSerializerMixin, WicaChannelMetadata, WicaChannelValue

@Immutable public abstract class WicaChannelData extends Object
Represents the abstract root of a hierarchy of objects which provide fields to describe a control point's general characteristics (that is its metadata) and/or fields to describe its evolving state that is its instantaneous value).
  • Constructor Details

    • WicaChannelData

      public WicaChannelData()
      Constructs a new instance of unknown type based on the current server timestamp.
    • WicaChannelData

      public WicaChannelData(WicaChannelType wicaChannelType, LocalDateTime wicaServerTimestamp)
      Constructs a new instance of the specified type and with the specified timestamp.
      Parameters:
      wicaChannelType - the channel type.
      wicaServerTimestamp - the server timestamp.
  • Method Details

    • getType

      public WicaChannelType getType()
      Returns the channel type.
      Returns:
      the channel type.
    • getWicaServerTimestamp

      public LocalDateTime getWicaServerTimestamp()
      Returns the server timestamp.
      Returns:
      the server timestamp.