Package de.aristaflow.ilm.model.monitor
Class InstanceDataValues
- java.lang.Object
-
- de.aristaflow.ilm.model.monitor.InstanceDataValues
-
- All Implemented Interfaces:
Serializable
public class InstanceDataValues extends Object implements Serializable
This data structure heavily relies on the corresponding request returning this data. To prevent redundant data, the listsinstForDataElement
andvalues
refer to the list ofTemplTreeDataElement
used in the request. That is, theTemplateTreeDataElement
at positionx
has the instanceinstances[instForDataElement[x]]
and the valuevalues[x]
.- See Also:
InstanceDataValues
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description List<@NotNull InstanceReference>
instances
The instances of which values are provided by thisInstanceDataValues
.List<Integer>
instForDataElement
This list reflects the list ofTemplTreeDataElement
s provided when requesting thisInstanceDataValues
, that is, the list positions correspond.List<Integer>
placeholders
If this list is present, its entries refer to the (0-based) positions of values withinvalues
which arenull
but actually are missing since they are too big.List<String>
values
This list reflects the list ofTemplTreeDataElement
s provided when requesting thisInstanceDataValues
, that is, the list positions correspond.
-
Constructor Summary
Constructors Constructor Description InstanceDataValues()
-
-
-
Field Detail
-
instances
public List<@NotNull InstanceReference> instances
The instances of which values are provided by thisInstanceDataValues
. They are ordered by the hierarchical path of the corresponding base template within the template tree.
-
instForDataElement
public List<Integer> instForDataElement
This list reflects the list ofTemplTreeDataElement
s provided when requesting thisInstanceDataValues
, that is, the list positions correspond. The elements in this lists are the (0-based) positions of the correspondingInstanceReference
s ininstances
.
Anull
element means that there is no instance at all for the corresponding template (or it does not provide any non-null data for the requested data elements).
-
values
public List<String> values
This list reflects the list ofTemplTreeDataElement
s provided when requesting thisInstanceDataValues
, that is, the list positions correspond. Each value of the correspondingTemplateTreeDataElement
is represented as string, which is either atrue/false
, a parsable integer or float number, a string, a date/time in ISO-8601-format, a URI, an (optionally) gzipped and Base64-encodedbyte[]
ornull
in case the value is ADEPT2-Null.
-
placeholders
public List<Integer> placeholders
If this list is present, its entries refer to the (0-based) positions of values withinvalues
which arenull
but actually are missing since they are too big. They can be requested separately. Obviously, the entries are also the positions of the correspondingTemplTreeDataElement
in the data element list of the corresponding request.
Note that unlike the other lists, the index of a list element has no purpose. Only the content of the list is relevant.
-
-