public class XTCEContainerContentModel extends XTCEContainerContentModelBase
XTCEContainerContentModelBase.RunningStartBitcontainerDescription_, containerName_, contentList_, contentValues_, exhaustedBinaryBitSupply_, showAllConditions_, spaceSystems_, totalContainerSize_, warnings_| Constructor and Description |
|---|
XTCEContainerContentModel(XTCETMContainer container,
List<XTCESpaceSystem> spaceSystems,
BitSet binaryData)
Constructor
This constructor creates the container content model object with TM
parameter values evaluated from the binary provided in a BitSet.
|
XTCEContainerContentModel(XTCETMContainer container,
List<XTCESpaceSystem> spaceSystems,
List<XTCEContainerEntryValue> userValues,
boolean showAllConditions)
Constructor
This constructor creates the container content model object with some
optional user values provided in a list.
|
| Modifier and Type | Method and Description |
|---|---|
XTCETMContainer |
getContainerReference()
Accessor to get the reference to the XTCETMContainer object that this
model represents.
|
long |
processContainer()
This method processes the contents of the entire container into
an ArrayList of XTCEContainerContentEntry objects.
|
addArrayEntryDescription, addIncludeCondition, addIncludeConditions, addRepeatEntryDescription, addStartBit, applyBinaryValue, applyRestriction, applyRestrictions, applyUserValue, checkForOverlaps, dynamicCountFromUserValue, encodeContainer, evaluateContainerReferenceLocation, evaluateIncludeConditions, extractRawValue, findContainer, findParameter, findTelecommand, getBytesRequired, getContentList, getDescription, getName, getTotalSize, getUserValues, getWarnings, isEntryConditionSatisfied, isEntryNeedingStartBit, isProcessingCompatible, isValid, processEndOfContainer, reorderItemsByStartBit, setShowAllConditionalspublic XTCEContainerContentModel(XTCETMContainer container, List<XTCESpaceSystem> spaceSystems, List<XTCEContainerEntryValue> userValues, boolean showAllConditions) throws XTCEDatabaseException
container - XTCETMContainer from the database object that contains
all the needed entry list items.spaceSystems - List of XTCESpaceSystem objects to search for
entries on the entry list.userValues - List of XTCEContainerEntryValue objects for TM
Parameters that are within the container. This can be null if no values
are needed to be passed into conditional processing.showAllConditions - boolean indicating if unsatisfied conditional
includes should be pursued at depth. This can be a performance hit if
there are a large number of conditionals nested.XTCEDatabaseException - in the event that the container cannot
be completely processed.public XTCEContainerContentModel(XTCETMContainer container, List<XTCESpaceSystem> spaceSystems, BitSet binaryData) throws XTCEDatabaseException
container - XTCETMContainer from the database object that contains
all the needed entry list items.spaceSystems - List of XTCESpaceSystem objects to search for
entries on the entry list.binaryData - BitSet containing a map of the binary data that makes
up a binary instance of the container. The first bit in the set should
be the zeroth bit of the container binary (start bit 0) and may be short
in the event that there are trailing zeros.XTCEDatabaseException - in the event that the container cannot
be completely processed.public final XTCETMContainer getContainerReference()
public final long processContainer()
throws XTCEDatabaseException
XTCEDatabaseException - thrown in the event that this container
cannot be processed.Copyright © 2015–2019. All rights reserved.