public class IntegerParameterType extends IntegerDataType implements NumericParameterType
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
|
ParameterType |
copy()
Create a shallow copy of the parameter type
- the object itself (and the primitive fields) are new
but the other fields reference to the same object like the original
|
NumericAlarm |
createOrGetAlarm(MatchCriteria contextMatch)
Creates (if not already existing) and gets the alarm associated to the context.
|
List<NumericContextAlarm> |
getContextAlarmList() |
NumericAlarm |
getDefaultAlarm() |
Set<Parameter> |
getDependentParameters() |
NumericContextAlarm |
getNumericContextAlarm(MatchCriteria context) |
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, getTypeAsString, getValidRange, getValueType, isSigned, parseString, setInitialValue, 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, waitgetEncodingparseString, parseStringForRawValue, setEncodinggetName, getTypeAsString, getValueType, setInitialValuepublic IntegerParameterType(String name)
public IntegerParameterType(IntegerParameterType t)
public NumericAlarm createOrGetAlarm(MatchCriteria contextMatch)
NumericParameterTypecreateOrGetAlarm in interface NumericParameterTypecontextMatch - use null for the default contextpublic 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)
addAlarmRange in interface NumericParameterTypecontextMatch - 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 ParameterType copy()
ParameterTypecopy in interface ParameterTypeCopyright © 2018 Space Applications Services. All rights reserved.