Package org.yamcs.xtce
Class EnumeratedParameterType
java.lang.Object
org.yamcs.xtce.NameDescription
org.yamcs.xtce.BaseDataType
org.yamcs.xtce.EnumeratedDataType
org.yamcs.xtce.EnumeratedParameterType
- All Implemented Interfaces:
Serializable
,DataType
,ParameterType
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.yamcs.xtce.EnumeratedDataType
enumeration, enumerationList, ranges
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
ConstructorDescriptionCopy constructor -
Method Summary
Modifier and TypeMethodDescriptiongetContextAlarm
(MatchCriteria contextMatch) boolean
hasAlarm()
Whether this ParameterType has any alarms associatedvoid
setContextAlarmList
(List<EnumerationContextAlarm> contextAlarmList) void
setDefaultAlarm
(EnumerationAlarm enumerationAlarm) Override the default alarm from MDBCreate a builder that can be used to make shallow copy of the parameter typetoString()
Methods inherited from class org.yamcs.xtce.EnumeratedDataType
calibrate, convertType, enumValue, enumValue, getInitialValue, getTypeAsString, getValueEnumerationList, getValueEnumerationRangeList, getValueType, hasLabel, setInitialValue
Methods inherited from class org.yamcs.xtce.BaseDataType
getEncoding, getUnitSet, parseStringForRawValue, setInitialValue, setUnitSet, toString
Methods inherited from class org.yamcs.xtce.NameDescription
addAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, qualifiedName, 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
convertType, getInitialValue, getLongDescription, getName, getQualifiedName, getShortDescription, getTypeAsString, getValueType, parseStringForRawValue, toString
Methods inherited from interface org.yamcs.xtce.ParameterType
getEncoding
-
Constructor Details
-
EnumeratedParameterType
-
EnumeratedParameterType
Copy constructor
-
-
Method Details
-
hasAlarm
public boolean hasAlarm()Description copied from interface:ParameterType
Whether this ParameterType has any alarms associated- Specified by:
hasAlarm
in interfaceParameterType
-
setDefaultAlarm
Override the default alarm from MDB- Parameters:
enumerationAlarm
-
-
getDependentParameters
- Specified by:
getDependentParameters
in 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
-
getDefaultAlarm
-
getContextAlarm
-
getContextAlarmList
-
getCalibrationDescription
-
setContextAlarmList
-
toBuilder
Description copied from interface:ParameterType
Create 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:
toBuilder
in interfaceParameterType
- Returns:
-
toString
-