Package org.yamcs.xtce
Class BaseDataType.Builder<T extends BaseDataType.Builder<T>>
java.lang.Object
org.yamcs.xtce.NameDescription.Builder<T>
org.yamcs.xtce.BaseDataType.Builder<T>
- All Implemented Interfaces:
DataType.Builder<T>
- Direct Known Subclasses:
BaseTimeDataType.Builder
,BinaryDataType.Builder
,BooleanDataType.Builder
,EnumeratedDataType.Builder
,FloatDataType.Builder
,IntegerDataType.Builder
,NumericDataType.Builder
,StringDataType.Builder
- Enclosing class:
- BaseDataType
public abstract static class BaseDataType.Builder<T extends BaseDataType.Builder<T>>
extends NameDescription.Builder<T>
implements DataType.Builder<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnits
(Collection<UnitType> units) void
setBaseType
(BaseDataType type) setEncoding
(DataEncoding.Builder<?> dataEncoding) setInitialValue
(byte[] initialValue) setInitialValue
(String initialValue) Methods inherited from class org.yamcs.xtce.NameDescription.Builder
addAlias, getName, self, 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.Builder
build, getName, setLongDescription, setName, setQualifiedName, setShortDescription
-
Field Details
-
initialValue
-
baseType
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
setInitialValue
-
setInitialValue
- Specified by:
setInitialValue
in interfaceDataType.Builder<T extends BaseDataType.Builder<T>>
-
setEncoding
-
addAllUnits
-
addUnit
-
getEncoding
-
setBaseType
-