Class SequenceContainer

  • All Implemented Interfaces:
    Serializable

    public class SequenceContainer
    extends Container
    A list of raw parameters, parameter segments, stream segments, containers, or container segments. Sequence containers may inherit from other sequence containers; when they do, the sequence in the parent SequenceContainer is 'inherited' and if the location of entries in the child sequence is not specified, it is assumed to start where the parent sequence ended. Parent sequence containers may be marked as "abstract". The idle pattern is part of any unallocated space in the Container.
    See Also:
    Serialized Form
    • Constructor Detail

      • SequenceContainer

        public SequenceContainer​(String name)
    • Method Detail

      • addEntry

        public void addEntry​(SequenceEntry entry)
        Add single entry to list of entries
        Specified by:
        addEntry in class Container
        Parameters:
        entry - Entry to be added
      • insertEntry

        public void insertEntry​(int idx,
                                SequenceEntry entry)
        Insert the given entry in position idx. Shift all the subsequent entries to the right.
        Parameters:
        idx -
        entry -
      • getEntryList

        public List<SequenceEntry> getEntryList()
        Returns the list of the entries in the sequence container. The list is unmodifiable.
        Specified by:
        getEntryList in class Container
      • useAsArchivePartition

        public boolean useAsArchivePartition()
      • useAsArchivePartition

        public void useAsArchivePartition​(boolean useAsArchivePartition)
        If set to true, the XtceTmRecorder will set the qualified name of this container as the "pname" (packet name) column in the tm table. The packet will be then visible in the front page of Yamcs web as well as in the Archive overview.

        If the container has a child that matches the packet, and the child also has this flag set, then the name of the child will be used instead (e.g. the name of the most specific packet will be used).

        If no container having this flag matches a packet, the name of the root container will be used (even if it does not have the flag set).

        Parameters:
        useAsArchivePartition -