Package org.yamcs.xtce
Class FloatDataType
- java.lang.Object
-
- org.yamcs.xtce.NameDescription
-
- org.yamcs.xtce.BaseDataType
-
- org.yamcs.xtce.NumericDataType
-
- org.yamcs.xtce.FloatDataType
-
- All Implemented Interfaces:
Serializable
,DataType
- Direct Known Subclasses:
FloatArgumentType
,FloatParameterType
public abstract class FloatDataType extends NumericDataType
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FloatDataType.Builder<T extends FloatDataType.Builder<T>>
-
Field Summary
-
Fields inherited from class org.yamcs.xtce.BaseDataType
encoding
-
Fields inherited from class org.yamcs.xtce.NameDescription
ancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FloatDataType(FloatDataType t)
protected
FloatDataType(FloatDataType.Builder<?> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getInitialValue()
Get the initial value if anyint
getSizeInBits()
String
getTypeAsString()
String which represents the type.FloatValidRange
getValidRange()
Yamcs.Value.Type
getValueType()
Return the expected Value type of an engineering value conforming to this XTCE data typeDouble
parseString(String stringValue)
Used to parse string such as an initial valueprotected void
setInitialValue(Object initialValue)
-
Methods inherited from class org.yamcs.xtce.BaseDataType
getEncoding, getUnitSet, parseStringForRawValue, setInitialValue, toString
-
Methods inherited from class org.yamcs.xtce.NameDescription
addAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescription
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.yamcs.xtce.DataType
getLongDescription, getName, getShortDescription
-
-
-
-
Constructor Detail
-
FloatDataType
protected FloatDataType(FloatDataType.Builder<?> builder)
-
FloatDataType
protected FloatDataType(FloatDataType t)
-
-
Method Detail
-
getInitialValue
public Double getInitialValue()
Description copied from interface:DataType
Get the initial value if any- Returns:
-
setInitialValue
protected void setInitialValue(Object initialValue)
- Specified by:
setInitialValue
in classBaseDataType
-
getSizeInBits
public int getSizeInBits()
-
getValidRange
public FloatValidRange getValidRange()
-
parseString
public Double parseString(String stringValue)
Description copied from class:BaseDataType
Used to parse string such as an initial value- Specified by:
parseString
in interfaceDataType
- Specified by:
parseString
in classBaseDataType
- Returns:
-
getValueType
public Yamcs.Value.Type getValueType()
Description copied from interface:DataType
Return the expected Value type of an engineering value conforming to this XTCE data type- Returns:
-
-