Package org.yamcs.xtce
Class BooleanDataType
- java.lang.Object
-
- org.yamcs.xtce.NameDescription
-
- org.yamcs.xtce.BaseDataType
-
- org.yamcs.xtce.BooleanDataType
-
- All Implemented Interfaces:
Serializable,DataType
- Direct Known Subclasses:
BooleanArgumentType,BooleanParameterType
public class BooleanDataType extends BaseDataType
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBooleanDataType.Builder<T extends BooleanDataType.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 protectedBooleanDataType(BooleanDataType t)protectedBooleanDataType(BooleanDataType.Builder<?> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetInitialValue()Get the initial value if anyStringgetOneStringValue()StringgetTypeAsString()String which represents the type.Yamcs.Value.TypegetValueType()Return the expected Value type of an engineering value conforming to this XTCE data typeStringgetZeroStringValue()BooleanparseString(String stringValue)ReturnsBoolean.parseBoolean(String)protected voidsetInitialValue(Object initialValue)StringtoString()-
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, wait, wait, wait
-
Methods inherited from interface org.yamcs.xtce.DataType
getLongDescription, getName, getShortDescription
-
-
-
-
Constructor Detail
-
BooleanDataType
protected BooleanDataType(BooleanDataType.Builder<?> builder)
-
BooleanDataType
protected BooleanDataType(BooleanDataType t)
-
-
Method Detail
-
setInitialValue
protected void setInitialValue(Object initialValue)
- Specified by:
setInitialValuein classBaseDataType
-
getInitialValue
public Boolean getInitialValue()
Description copied from interface:DataTypeGet the initial value if any- Returns:
-
parseString
public Boolean parseString(String stringValue)
ReturnsBoolean.parseBoolean(String)- Specified by:
parseStringin interfaceDataType- Specified by:
parseStringin classBaseDataType- Returns:
-
getOneStringValue
public String getOneStringValue()
-
getZeroStringValue
public String getZeroStringValue()
-
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:
-
getTypeAsString
public String getTypeAsString()
Description copied from interface:DataTypeString which represents the type. This string will be presented to the users of the system.- Returns:
-
-