public class BinaryDataType extends BaseDataType
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryDataType.Builder<T extends BinaryDataType.Builder<T>> |
encodingancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Modifier | Constructor and Description |
|---|---|
protected |
BinaryDataType(BinaryDataType.Builder<?> builder) |
protected |
BinaryDataType(BinaryDataType t) |
| Modifier and Type | Method and Description |
|---|---|
static String |
arrayToHexString(byte[] b) |
byte[] |
getInitialValue()
Get the initial value if any
|
IntegerRange |
getSizeRangeInBytes() |
String |
getTypeAsString()
String which represents the type.
|
Yamcs.Value.Type |
getValueType()
Return the expected Value type of an engineering value conforming to this XTCE data type
|
static byte[] |
hexStringToArray(String s)
Converts a hex string into a byte array.
|
byte[] |
parseString(String stringValue)
parse the hexadecimal stringValue into byte[]
|
protected void |
setInitialValue(Object initialValue) |
void |
setSizeRangeInBytes(IntegerRange sizeRangeInBytes) |
String |
toString() |
String |
toString(Object v)
Converts a value to a string.
|
getEncoding, getUnitSet, parseStringForRawValue, setInitialValueaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLongDescription, getName, getShortDescriptionprotected BinaryDataType(BinaryDataType.Builder<?> builder)
protected BinaryDataType(BinaryDataType t)
protected void setInitialValue(Object initialValue)
setInitialValue in class BaseDataTypepublic byte[] getInitialValue()
DataTypepublic IntegerRange getSizeRangeInBytes()
public void setSizeRangeInBytes(IntegerRange sizeRangeInBytes)
public byte[] parseString(String stringValue)
parseString in interface DataTypeparseString in class BaseDataTypepublic String toString(Object v)
DataTypeDataType.parseString(String).toString in interface DataTypetoString in class BaseDataTypepublic static byte[] hexStringToArray(String s)
s - public static String arrayToHexString(byte[] b)
public Yamcs.Value.Type getValueType()
DataTypeCopyright © 2020 Space Applications Services. All rights reserved.