public abstract class XTCENamedObject extends Object implements Comparable
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object that)
Comparison Interface
Comparison of this named object in the XTCE data model is based on the
fully qualified path to this object in the Space System hierarchy.
|
boolean |
equals(Object rhs)
Equality Operator
|
String |
getAlias(String nameSpace)
Accessor to retrieve the Alias for this named object where the
desired nameSpace attribute for the Alias is provided to search the list
of potential Aliases.
|
List<XTCEAlias> |
getAliasSet()
Accessor to retrieve the complete list of applicable Aliases for this
named object.
|
List<org.omg.space.xtce.DescriptionType.AncillaryDataSet.AncillaryData> |
getAncillaryData()
Accessor to retrieve the List of AncillaryData elements from the XTCE
data for this named object.
|
List<org.omg.space.xtce.DescriptionType.AncillaryDataSet.AncillaryData> |
getAncillaryData(String nameGlob)
Accessor to retrieve only a partial list of AncillaryData elements from
the XTCE data for this named object where the name attribute of the
AncillaryData element must either exactly match a string or a glob style
pattern.
|
String |
getFullPath()
Retrieve the fully qualified Space System path to this object in the
XTCE data model.
|
String |
getName()
Retrieve the name of this object in the XTCE data model
|
protected String |
getPrimaryLongDescription(org.omg.space.xtce.DescriptionType obj)
Retrieves the LongDescription element text of the primary element for
a named object in the XTCE data model.
|
protected String |
getPrimaryShortDescription(org.omg.space.xtce.DescriptionType obj)
Retrieves the shortDescription attribute of the primary element for
a named object in the XTCE data model.
|
String |
getSpaceSystemName()
Retrieve the Space System name that contains this object in the XTCE
data model.
|
String |
getSpaceSystemPath()
Retrieve the Space System path that contains this object in the XTCE
data model.
|
int |
hashCode()
Hash function for Java Collections
Key rule here is that if this object is equal to another object via the
equals() function, then the hashCode() must also be the same.
|
protected void |
populateAliasListFromReference(org.omg.space.xtce.AliasSetType set)
Private method to gather the aliases from this named object, which is
performed once for Containers, Streams, and Member objects, but appended
to with the type element for Parameters and Arguments.
|
protected void |
setPrimaryLongDescription(org.omg.space.xtce.DescriptionType obj,
String desc)
Sets the shortDescription attribute of the primary element for a
named object in the XTCE data model.
|
protected void |
setPrimaryShortDescription(org.omg.space.xtce.DescriptionType obj,
String desc)
Sets the shortDescription attribute of the primary element for a
named object in the XTCE data model.
|
public final String getName()
public final String getFullPath()
public final String getSpaceSystemPath()
public final String getSpaceSystemName()
public final List<XTCEAlias> getAliasSet()
public final String getAlias(String nameSpace)
nameSpace - The namespace as defined by the nameSpace attribute in
XTCE for the Alias element.getAliasSet()public List<org.omg.space.xtce.DescriptionType.AncillaryDataSet.AncillaryData> getAncillaryData()
public List<org.omg.space.xtce.DescriptionType.AncillaryDataSet.AncillaryData> getAncillaryData(String nameGlob)
nameGlob - String containing a precise name or a glob style pattern
to match against the name attribute of the AncillaryData elements.protected final String getPrimaryShortDescription(org.omg.space.xtce.DescriptionType obj)
obj - DescriptionType base class from the JAXB generated classes
for this named object.protected final void setPrimaryShortDescription(org.omg.space.xtce.DescriptionType obj,
String desc)
obj - DescriptionType base class from the JAXB generated classes
for this named object.desc - String containing the text to set.NullPointerException - in the event that the DescriptionType is
null. This method should not be used on an invalid object.protected final String getPrimaryLongDescription(org.omg.space.xtce.DescriptionType obj)
obj - DescriptionType base class from the JAXB generated classes
for this named object.protected final void setPrimaryLongDescription(org.omg.space.xtce.DescriptionType obj,
String desc)
obj - DescriptionType base class from the JAXB generated classes
for this named object.desc - String containing the text to set.NullPointerException - in the event that the DescriptionType is
null. This method should not be used on an invalid object.protected final void populateAliasListFromReference(org.omg.space.xtce.AliasSetType set)
set - DescriptionType object from the JAXB generated classes
that represents this named object.public int compareTo(Object that)
compareTo in interface Comparablethat - XTCENamedObject or derived class to compare the path.Comparablepublic boolean equals(Object rhs)
equals in class Objectrhs - String or XTCENamedObject to compare to this one, with
equality being defined as the fully qualified path in the XTCE data
model being equal to the path for this object.Copyright © 2015–2019. All rights reserved.