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 classFloatDataType.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 protectedFloatDataType(FloatDataType t)protectedFloatDataType(FloatDataType.Builder<?> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetInitialValue()Get the initial value if anyintgetSizeInBits()StringgetTypeAsString()String which represents the type.FloatValidRangegetValidRange()Yamcs.Value.TypegetValueType()Return the expected Value type of an engineering value conforming to this XTCE data typeDoubleparseString(String stringValue)Used to parse string such as an initial valueprotected voidsetInitialValue(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:DataTypeGet the initial value if any- Returns:
-
setInitialValue
protected void setInitialValue(Object initialValue)
- Specified by:
setInitialValuein classBaseDataType
-
getSizeInBits
public int getSizeInBits()
-
getValidRange
public FloatValidRange getValidRange()
-
parseString
public Double parseString(String stringValue)
Description copied from class:BaseDataTypeUsed to parse string such as an initial value- Specified by:
parseStringin interfaceDataType- Specified by:
parseStringin classBaseDataType- Returns:
-
getValueType
public Yamcs.Value.Type getValueType()
Description copied from interface:DataTypeReturn the expected Value type of an engineering value conforming to this XTCE data type- Returns:
-
-