public class XTCESpaceSystem extends XTCENamedObject
| Modifier and Type | Method and Description |
|---|---|
org.omg.space.xtce.NameDescriptionType |
getArgumentTypeReference(String typeName)
Retrieve an Argument Type Element from this SpaceSystem element if it
exists.
|
XTCETMContainer |
getContainer(String nameOrPath)
Retrieve a named SequenceContainer as a toolkit modeled XTCETMContainer
object from this Space System object.
|
List<XTCETMContainer> |
getContainers()
Retrieve a List of SequenceContainers that are locally defined
in this Space System, modeled as XTCETMContainer objects.
|
List<XTCETMContainer> |
getContainers(String nameGlob)
Retrieve a List of SequenceContainers that match a user provided string
glob, modeled as XTCETMContainer objects.
|
List<XTCETMContainer> |
getInheritingContainers(String parentPath)
Retrieve all containers that inherit from the container inheritance
path provided.
|
String |
getLongDescription()
Retrieve the long description element content of this Space System.
|
XTCESpaceSystemMetrics |
getMetrics()
Retrieve the metrics for the Space System represented by this object.
|
String |
getOperationalStatus()
Retrieve the operationalStatus attribute from the SpaceSystem element
attributes list.
|
List<XTCEParameter> |
getParameters()
Retrieves a List of all Parameters modeled by this Space
System object.
|
org.omg.space.xtce.SpaceSystemType |
getReference()
Retrieve a reference to the JAXB object that represents this
SpaceSystem element in the XTCE data model.
|
String |
getShortDescription()
Retrieve the short description attribute of this Space System.
|
List<XTCETMStream> |
getStreams()
Retrieve a List of Streams that are locally defined in this
Space System, modeled as XTCETMStream objects.
|
org.omg.space.xtce.NameDescriptionType |
getTCParameterTypeReference(String typeName)
Retrieve a Parameter Type Element from this SpaceSystem element if it
exists.
|
XTCETelecommand |
getTelecommand(String nameOrPath)
Retrieves a named Telecommand from this Space System as an
XTCETelecommand object.
|
XTCEParameter |
getTelecommandParameter(String name)
Retrieves a named TC Parameter from this Space System.
|
List<XTCEParameter> |
getTelecommandParameters()
Retrieves a List of all TC Parameters modeled by this Space
System object.
|
List<XTCETelecommand> |
getTelecommands()
Retrieve a List of MetaCommand or BlockMetaCommand elements that
are locally defined in this Space System, modeled as XTCETelecommand
objects.
|
List<XTCETelecommand> |
getTelecommands(String nameGlob)
Retrieve a List of Telecommands that match a user provided string
glob, modeled as XTCETelecommand objects.
|
XTCEParameter |
getTelemetryParameter(String name)
Retrieves a named TM Parameter from this Space System.
|
List<XTCEParameter> |
getTelemetryParameters()
Retrieves a List of all TM Parameters modeled by this Space
System object.
|
org.omg.space.xtce.NameDescriptionType |
getTMParameterTypeReference(String typeName)
Retrieve a Parameter Type Element from this SpaceSystem element if it
exists.
|
List<String> |
getWarningsFromLastOperation()
Retrieve the warnings created from the last operation invoked.
|
boolean |
isTelecommandParameter(String name)
Check whether or not a named TC Parameter exists in this Space System.
|
boolean |
isTelemetryParameter(String name)
Check whether or not a named TM Parameter exists in this Space System.
|
void |
setHeaderAttributes(String version,
String date,
String classification,
String instructions,
String validation)
Sets the basic Header element attributes for this Space System element.
|
void |
setLongDescription(String text)
Sets the long description attribute of this Space System.
|
void |
setOperationalStatus(String text)
Sets the operationalStatus attribute on the SpaceSystem element or
removes it if the content is empty.
|
void |
setShortDescription(String text)
Sets the short description attribute of this Space System.
|
compareTo, equals, getAlias, getAliasSet, getAncillaryData, getAncillaryData, getFullPath, getName, getPrimaryLongDescription, getPrimaryShortDescription, getSpaceSystemName, getSpaceSystemPath, hashCode, populateAliasListFromReference, setPrimaryLongDescription, setPrimaryShortDescriptionpublic final org.omg.space.xtce.SpaceSystemType getReference()
public final List<String> getWarningsFromLastOperation()
public final String getShortDescription()
public final void setShortDescription(String text)
text - String containing the short description text, which can be
empty or null, in which case it nulls the underlying short description
attribute of the JAXB object.public final String getLongDescription()
public final void setLongDescription(String text)
text - String containing the long description text, which can be
empty or null, in which case it nulls the underlying long description
element of the JAXB object.public final String getOperationalStatus()
public final void setOperationalStatus(String text)
text - String containing the operational status or empty in which
case the attribute will be removed for brevity on the XML document.public final XTCESpaceSystemMetrics getMetrics()
public void setHeaderAttributes(String version, String date, String classification, String instructions, String validation)
version - String containing the document or Space System element
version. XTCE models this field as a plain string, so no special
restrictions exist.date - String containing the date to associate with the document or
Space System element. XTCE models this field as a plain string, so any
date format is accepted.classification - String containing a classification description.
The XTCE data model supplies a default of "NotClassified" here if the
user provides no value.instructions - String containing a description of the
classification instructions.validation - String containing the validation status, which is a
mandatory attribute if the Header element does exist. If not supplied
here, the value "Unknown" will be set, but only if the Header element
needs to exist.public boolean isTelemetryParameter(String name)
name - String containing the Parameter element name attribute.getTelemetryParameter(java.lang.String),
getParameters()public boolean isTelecommandParameter(String name)
name - String containing the Parameter element name attribute.getTelecommandParameter(java.lang.String),
getParameters()public XTCEParameter getTelemetryParameter(String name) throws XTCEDatabaseException
name - String containing the Parameter element name attribute.XTCEDatabaseException - when the TM Parameter does not exist in
this Space System. The exception can be avoided by using the method
isTelemetryParameter() when the presence is in question.isTelemetryParameter(java.lang.String),
getParameters()public XTCEParameter getTelecommandParameter(String name) throws XTCEDatabaseException
name - String containing the Parameter element name attribute.XTCEDatabaseException - when the TC Parameter does not exist in
this Space System. The exception can be avoided by using the method
isTelecommandParameter() when the presence is in question.isTelecommandParameter(java.lang.String),
getParameters()public List<XTCEParameter> getTelemetryParameters()
public List<XTCEParameter> getTelecommandParameters()
public List<XTCEParameter> getParameters()
public XTCETMContainer getContainer(String nameOrPath) throws XTCEDatabaseException
nameOrPath - String containing the local name or a path to the
name. The path will be ignored as this method is intended to only find
in the local Space System element.XTCEDatabaseException - in the event that the named
SequenceContainer does not exist in this Space System element.public List<XTCETMContainer> getContainers(String nameGlob)
nameGlob - String containing a glob style matching pattern to match
against the container names.public List<XTCETMContainer> getInheritingContainers(String parentPath)
parentPath - String containing a base inheritance to search for
children of.public List<XTCETMContainer> getContainers()
public List<XTCETMStream> getStreams()
public XTCETelecommand getTelecommand(String nameOrPath) throws XTCEDatabaseException
nameOrPath - String containing the MetaCommand or BlockMetaCommand
name attribute from the XTCE data model. Similar to the getContainer()
method, this accepts a sloppy name or path. It ignores the path and
extracts only the name for searching in the local Space System.XTCEDatabaseException - when the Telecommand does not exist in
this Space System.getTelecommands()public List<XTCETelecommand> getTelecommands()
public List<XTCETelecommand> getTelecommands(String nameGlob)
nameGlob - String containing a glob style matching pattern to match
against the container names.public org.omg.space.xtce.NameDescriptionType getTMParameterTypeReference(String typeName)
typeName - String name of the type element to find.public org.omg.space.xtce.NameDescriptionType getTCParameterTypeReference(String typeName)
typeName - String name of the type element to find.public org.omg.space.xtce.NameDescriptionType getArgumentTypeReference(String typeName)
typeName - String name of the type element to find.Copyright © 2015–2019. All rights reserved.