Package org.yamcs.xtce
Class SequenceContainer
java.lang.Object
org.yamcs.xtce.NameDescription
org.yamcs.xtce.Container
org.yamcs.xtce.SequenceContainer
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.yamcs.xtce.NameDescription
NameDescription.Builder<T extends NameDescription.Builder<T>>
-
Field Summary
Fields inherited from class org.yamcs.xtce.Container
baseContainer, restrictionCriteria, sizeInBits
Fields inherited from class org.yamcs.xtce.NameDescription
ancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Stores the given ancillary data.void
addEntry
(SequenceEntry entry) Add single entry to list of entriesReturns the list of the entries in the sequence container.restriction criteria related to inheritance from the base containervoid
insertEntry
(int idx, SequenceEntry entry) Insert the given entry in position idx.boolean
void
print
(PrintStream out) void
setAncillaryData
(List<AncillaryData> ancillaryData) void
setAutoPartition
(boolean autoPartition) void
setBaseContainer
(Container baseContainer) void
setEntryList
(List<SequenceEntry> entryList) toString()
boolean
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.Methods inherited from class org.yamcs.xtce.Container
getRateInStream, getSizeInBits, setRateInStream, setRestrictionCriteria, setSizeInBits
Methods inherited from class org.yamcs.xtce.NameDescription
addAlias, addAliases, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, qualifiedName, setAliasSet, setLongDescription, setName, setQualifiedName, setShortDescription
-
Constructor Details
-
SequenceContainer
-
-
Method Details
-
addAncillaryData
Description copied from class:NameDescription
Stores the given ancillary data. If an entry already existed for the applicable name, that entry will be overridden.- Overrides:
addAncillaryData
in classNameDescription
-
setAncillaryData
- Overrides:
setAncillaryData
in classNameDescription
-
getBaseContainer
- Overrides:
getBaseContainer
in classContainer
-
setBaseContainer
- Overrides:
setBaseContainer
in classContainer
-
getRestrictionCriteria
Description copied from class:Container
restriction criteria related to inheritance from the base container- Overrides:
getRestrictionCriteria
in classContainer
- Returns:
-
addEntry
Add single entry to list of entries -
insertEntry
Insert the given entry in position idx. Shift all the subsequent entries to the right.- Parameters:
idx
-entry
-
-
setEntryList
-
getEntryList
Returns the list of the entries in the sequence container. The list is unmodifiable.- Specified by:
getEntryList
in classContainer
-
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
-
-
print
-
toString
-
isAutoPartition
public boolean isAutoPartition() -
setAutoPartition
public void setAutoPartition(boolean autoPartition)
-