Class 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 lists instForDataElement and values refer to the list of TemplTreeDataElement used in the request. That is, the TemplateTreeDataElement at position x has the instance instances[instForDataElement[x]] and the value values[x].
    See Also:
    InstanceDataValues, Serialized Form
    • Field Detail

      • instances

        public List<@NotNull InstanceReference> instances
        The instances of which values are provided by this InstanceDataValues. 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 of TemplTreeDataElements provided when requesting this InstanceDataValues, that is, the list positions correspond. The elements in this lists are the (0-based) positions of the corresponding InstanceReferences in instances.
        A null 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 of TemplTreeDataElements provided when requesting this InstanceDataValues, that is, the list positions correspond. Each value of the corresponding TemplateTreeDataElement is represented as string, which is either a true/false, a parsable integer or float number, a string, a date/time in ISO-8601-format, a URI, an (optionally) gzipped and Base64-encoded byte[] or null 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 within values which are null but actually are missing since they are too big. They can be requested separately. Obviously, the entries are also the positions of the corresponding TemplTreeDataElement 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.
    • Constructor Detail

      • InstanceDataValues

        public InstanceDataValues()