public class IntegerParameterType extends IntegerDataType implements ParameterType
signedencodingname, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Constructor and Description |
|---|
IntegerParameterType(IntegerParameterType t)
Creates a shallow copy of the parameter type, giving it a new name.
|
IntegerParameterType(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarmRange(MatchCriteria contextMatch,
DoubleRange range,
AlarmLevels level)
Adds a new, or unions with an existing range for the specified context and level
|
void |
addContextAlarm(NumericContextAlarm nca) |
void |
addContextAlarms(Collection<NumericContextAlarm> ncas) |
void |
addCriticalAlarmRange(MatchCriteria contextMatch,
DoubleRange criticalRange)
Adds a new, or unions with an existing critical range for the specified context
|
void |
addDistressAlarmRange(MatchCriteria contextMatch,
DoubleRange distressRange)
Adds a new, or unions with an existing distress range for the specified context
|
void |
addSevereAlarmRange(MatchCriteria contextMatch,
DoubleRange severeRange)
Adds a new, or unions with an existing severe range for the specified context
|
void |
addWarningAlarmRange(MatchCriteria contextMatch,
DoubleRange warningRange)
Adds a new, or unions with an existing warning range for the specified context
|
void |
addWatchAlarmRange(MatchCriteria contextMatch,
DoubleRange watchRange)
Adds a new, or unions with an existing watch range for the specified context
|
NumericAlarm |
createOrGetAlarm(MatchCriteria contextMatch) |
List<NumericContextAlarm> |
getContextAlarmList() |
NumericAlarm |
getDefaultAlarm() |
Set<Parameter> |
getDependentParameters() |
NumericContextAlarm |
getNumericContextAlarm(MatchCriteria context) |
String |
getTypeAsString()
String which represents the type.
|
boolean |
hasAlarm()
Whether this ParameterType has any alarms associated
|
void |
setContextAlarmList(List<NumericContextAlarm> contextAlarmList) |
void |
setDefaultAlarm(NumericAlarm defaultAlarm) |
void |
setDefaultCriticalAlarmRange(DoubleRange criticalRange) |
void |
setDefaultDistressAlarmRange(DoubleRange distressRange) |
void |
setDefaultSevereAlarmRange(DoubleRange severeRange) |
void |
setDefaultWarningAlarmRange(DoubleRange warningRange) |
void |
setDefaultWatchAlarmRange(DoubleRange watchRange) |
String |
toString() |
getInitialValue, getSizeInBits, getValidRange, isSigned, parseString, setInitialValue, setSigned, setSizeInBits, setValidRangeaddAllUnits, addUnit, getEncoding, getUnitSet, parseStringForRawValue, setEncodingaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getAncillaryDataSet, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEncoding, getUnitSet, parseString, parseStringForRawValuepublic IntegerParameterType(String name)
public IntegerParameterType(IntegerParameterType t)
public NumericAlarm createOrGetAlarm(MatchCriteria contextMatch)
public void setDefaultWatchAlarmRange(DoubleRange watchRange)
public void setDefaultWarningAlarmRange(DoubleRange warningRange)
public void setDefaultDistressAlarmRange(DoubleRange distressRange)
public void setDefaultCriticalAlarmRange(DoubleRange criticalRange)
public void setDefaultSevereAlarmRange(DoubleRange severeRange)
public void addAlarmRange(MatchCriteria contextMatch, DoubleRange range, AlarmLevels level)
contextMatch - use null for the default contextpublic void addWatchAlarmRange(MatchCriteria contextMatch, DoubleRange watchRange)
contextMatch - use null for the default contextpublic void addWarningAlarmRange(MatchCriteria contextMatch, DoubleRange warningRange)
contextMatch - use null for the default contextpublic void addDistressAlarmRange(MatchCriteria contextMatch, DoubleRange distressRange)
contextMatch - use null for the default contextpublic void addCriticalAlarmRange(MatchCriteria contextMatch, DoubleRange criticalRange)
contextMatch - use null for the default contextpublic void addSevereAlarmRange(MatchCriteria contextMatch, DoubleRange severeRange)
contextMatch - use null for the default contextpublic void addContextAlarm(NumericContextAlarm nca)
public void addContextAlarms(Collection<NumericContextAlarm> ncas)
public NumericAlarm getDefaultAlarm()
public NumericContextAlarm getNumericContextAlarm(MatchCriteria context)
public List<NumericContextAlarm> getContextAlarmList()
public void setContextAlarmList(List<NumericContextAlarm> contextAlarmList)
public void setDefaultAlarm(NumericAlarm defaultAlarm)
public boolean hasAlarm()
ParameterTypehasAlarm in interface ParameterTypepublic Set<Parameter> getDependentParameters()
getDependentParameters in interface ParameterTypepublic String getTypeAsString()
ParameterTypegetTypeAsString in interface ParameterTypeCopyright © 2018 Space Applications Services. All rights reserved.