public static final class ChannelMetaDataDAO.ChannelInformation extends Object
Constructor and Description |
---|
ChannelInformation(UUID channelDataId,
String channelName,
String controlSystemType,
Set<Integer> decimationLevels,
UUID serverId)
Creates a channel information object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
UUID |
getChannelDataId()
Returns the unique identifier that is associated with the data
(samples) for the channel.
|
String |
getChannelName()
Returns the name of this channel.
|
String |
getControlSystemType()
Returns the control-system type of this channel.
|
Set<Integer> |
getDecimationLevels()
Returns the set of decimation levels defined for this channel.
|
UUID |
getServerId()
Returns the ID of the server that is responsible for this channel.
|
int |
hashCode() |
String |
toString() |
public ChannelInformation(UUID channelDataId, String channelName, String controlSystemType, Set<Integer> decimationLevels, UUID serverId)
channelDataId
- unique identifier associated with the data (samples) for
each channel. This identifier must be different for each
channel. It is used instead of the channel name when
storing data, so that the channel can be renamed later
without losing data.channelName
- name of this channel. The name is a textual identifier
that uniquely identifies the channel within the archive.controlSystemType
- control-system type of this channel. The control-system
type defines the control-system that provides new data for
the channel.decimationLevels
- set of decimation levels defined for this channel.
Typically, a channel at least has raw data (decimation
level zero) associated with it. A decimation level is
identified by the number of seconds between two samples.
All decimation levels except the zero decimation level,
which stores raw data, have fixed periods between samples.serverId
- ID of the server that is responsible for this channel.IllegalArgumentException
- if the channelName
is the empty string and
if the decimationLevels
set is empty.NullPointerException
- if the channelDataId
, the
channelName
, the controlSystemType, or the
decimationLevels
are null
and
if the decimationLevels
set contains
null
elements.public UUID getChannelDataId()
public String getChannelName()
public String getControlSystemType()
public Set<Integer> getDecimationLevels()
public UUID getServerId()
Copyright © 2011–2017 aquenos GmbH. All rights reserved.