Package ch.psi.wica.model.channel
Class WicaChannelData
java.lang.Object
ch.psi.wica.model.channel.WicaChannelData
- Direct Known Subclasses:
WicaChannelDataSerializer.WicaChannelDataSerializerMixin
,WicaChannelMetadata
,WicaChannelValue
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 Summary
ConstructorsConstructorDescriptionConstructs a new instance of unknown type based on the current server timestamp.WicaChannelData
(WicaChannelType wicaChannelType, LocalDateTime wicaServerTimestamp) Constructs a new instance of the specified type and with the specified timestamp. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the channel type.Returns the server timestamp.
-
Constructor Details
-
WicaChannelData
public WicaChannelData()Constructs a new instance of unknown type based on the current server timestamp. -
WicaChannelData
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
Returns the channel type.- Returns:
- the channel type.
-
getWicaServerTimestamp
Returns the server timestamp.- Returns:
- the server timestamp.
-