public class XTCEContainerEntryValue extends Object
| Constructor and Description |
|---|
XTCEContainerEntryValue(String value)
Constructor
This constructs an instance of the class to represent an assigned or
chosen value for an FixedValue field, which is always calibrated.
|
XTCEContainerEntryValue(XTCETypedObject item,
BitSet rawValue)
Constructor
This constructs an instance of the class to represent a binary decoded
value from a binary stream BitSet, which is always a raw value.
|
XTCEContainerEntryValue(XTCETypedObject item,
BitSet rawValue,
org.omg.space.xtce.CalibratorType calibrator)
Constructor
This constructs an instance of the class to represent a binary decoded
value from a binary stream BitSet, which is always a raw value.
|
XTCEContainerEntryValue(XTCETypedObject item,
String value,
String operator,
String form)
Constructor
This constructs an instance of the class to represent an assigned or
chosen value for an XTCEParameter and whether or not it is Calibrated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object rhs)
Equality Operator
Function to compare all the attributes of the entry value to determine
if it is equivalent to another entry value.
|
String |
getAssignedValue()
Retrieve the value that is associated with this Parameter/Argument
entry.
|
String |
getCalibratedValue()
Retrieve the EU/Calibrated value of the entry, regardless of how it
was assigned.
|
String |
getComparisonForm()
Retrieve the form of the value that is associated with this entry.
|
String |
getItemFullPath()
Retrieve the fully qualified name of the Parameter/Argument that is
attached to this value.
|
String |
getName()
Retrieve the Name of the item for which this value is associated, which
can be an Argument or Parameter name.
|
String |
getOperator()
Retrieve the assigning/comparison operator that associates the value to
the Parameter/Argument that is represented by this value object.
|
BitSet |
getRawValue()
Retrieve the Raw value of the entry, regardless of how it was assigned.
|
String |
getRawValueHex()
Retrieve the Raw value of the entry, regardless of how it was assigned.
|
String |
getUncalibratedValue()
Retrieve the Uncalibrated value of the entry, regardless of how it
was assigned.
|
List<String> |
getWarnings()
Retrieve any warnings that occurred when processing this specific
value.
|
int |
hashCode()
Hashing Function
Hashes the string representation of this entry value for used in certain
types of collections.
|
boolean |
isCompatibleWith(XTCEContainerEntryValue that)
Compatibility Operator
This method compares this entry value with another entry value to see if
they are "compatible".
|
String |
toString()
Retrieve a string representation of the entry value that this object
contains.
|
String |
toStringWithoutParameter()
Retrieve a string representation of the entry value that this object
contains without the Parameter/Argument in the beginning.
|
public XTCEContainerEntryValue(XTCETypedObject item, String value, String operator, String form)
item - The parameter or argument to keep this value for.value - The value that should be used for this Parameter.operator - The comparison operator that is used for assigning this
value, which can be "==", "!=", and others - refer to the XTCE Schema.form - The form of the value, either "Calibrated" or "Uncalibrated".public XTCEContainerEntryValue(String value)
value - The value that should be used for this Parameter.public XTCEContainerEntryValue(XTCETypedObject item, BitSet rawValue)
item - XTCETypedObject representing the parameter or argument in
the XTCE document.rawValue - BitSet containing the raw encoded bits for this item.public XTCEContainerEntryValue(XTCETypedObject item, BitSet rawValue, org.omg.space.xtce.CalibratorType calibrator)
item - XTCETypedObject representing the parameter or argument in
the XTCE document.rawValue - BitSet containing the raw encoded bits for this item.calibrator - CalibratorType element from the JAXB generated classes
that is applicable for the value decom for this item based on where it
is in the container.public final String getName()
public final String getItemFullPath()
public final List<String> getWarnings()
public final String getAssignedValue()
public final String getOperator()
public final String getComparisonForm()
public final String getCalibratedValue()
public final String getUncalibratedValue()
public final BitSet getRawValue()
public final String getRawValueHex()
public final boolean isCompatibleWith(XTCEContainerEntryValue that)
that - XTCEContainerEntryValue to compare to.public boolean equals(Object rhs)
public int hashCode()
public String toString()
public final String toStringWithoutParameter()
Copyright © 2015–2019. All rights reserved.