Package org.yamcs.xtce
Class IntegerParameterType
- java.lang.Object
-
- org.yamcs.xtce.NameDescription
-
- org.yamcs.xtce.BaseDataType
-
- org.yamcs.xtce.NumericDataType
-
- org.yamcs.xtce.IntegerDataType
-
- org.yamcs.xtce.IntegerParameterType
-
- All Implemented Interfaces:
Serializable,DataType,NumericParameterType,ParameterType
public class IntegerParameterType extends IntegerDataType implements NumericParameterType
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntegerParameterType.Builder
-
Field Summary
-
Fields inherited from class org.yamcs.xtce.IntegerDataType
signed
-
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 Constructor Description IntegerParameterType(IntegerParameterType t)Creates a shallow copy of the parameter type, giving it a new name.IntegerParameterType(IntegerParameterType.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NumericContextAlarm>getContextAlarmList()NumericAlarmgetDefaultAlarm()Set<Parameter>getDependentParameters()booleanhasAlarm()Whether this ParameterType has any alarms associatedIntegerParameterType.BuildertoBuilder()Create a builder that can be used to make shallow copy of the parameter typeStringtoString()-
Methods inherited from class org.yamcs.xtce.IntegerDataType
getInitialValue, getSizeInBits, getTypeAsString, getValidRange, getValueType, isSigned, parseString, setInitialValue, setInitialValue
-
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
getInitialValue, getLongDescription, getName, getShortDescription, getTypeAsString, getValueType, toString
-
Methods inherited from interface org.yamcs.xtce.NumericParameterType
getEncoding
-
Methods inherited from interface org.yamcs.xtce.ParameterType
parseString, parseStringForRawValue
-
-
-
-
Constructor Detail
-
IntegerParameterType
public IntegerParameterType(IntegerParameterType.Builder builder)
-
IntegerParameterType
public IntegerParameterType(IntegerParameterType t)
Creates a shallow copy of the parameter type, giving it a new name.
-
-
Method Detail
-
getDefaultAlarm
public NumericAlarm getDefaultAlarm()
- Specified by:
getDefaultAlarmin interfaceNumericParameterType
-
getContextAlarmList
public List<NumericContextAlarm> getContextAlarmList()
-
hasAlarm
public boolean hasAlarm()
Description copied from interface:ParameterTypeWhether this ParameterType has any alarms associated- Specified by:
hasAlarmin interfaceParameterType
-
getDependentParameters
public Set<Parameter> getDependentParameters()
- Specified by:
getDependentParametersin interfaceParameterType- Returns:
- the set of parameters on which this one depends in order to be extracted or alarm checked can be an empty set if this parameter does not depend on any other
-
toBuilder
public IntegerParameterType.Builder toBuilder()
Description copied from interface:ParameterTypeCreate a builder that can be used to make shallow copy of the parameter typeall the fields reference to the same object like the original
- Specified by:
toBuilderin interfaceNumericParameterType- Specified by:
toBuilderin interfaceParameterType- Returns:
-
-