Package org.yamcs.xtce
Class Parameter
- java.lang.Object
-
- org.yamcs.xtce.NameDescription
-
- org.yamcs.xtce.Parameter
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SystemParameter
public class Parameter extends NameDescription
A Parameter is a description of something that can have a value; it is not the value itself.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.yamcs.xtce.NameDescription
NameDescription.Builder<T extends NameDescription.Builder<T>>
-
-
Field Summary
-
Fields inherited from class org.yamcs.xtce.NameDescription
ancillaryData, name, PATH_SEPARATOR, qualifiedName, xtceAliasSet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourcegetDataSource()ObjectgetInitialValue()ParameterTypegetParameterType()StringgetRecordingGroup()voidsetDataSource(DataSource dataSource)voidsetInitialValue(Object initialValue)Sets the initial value for the parameter (if any).voidsetParameterType(ParameterType pm)voidsetRecordingGroup(String g)StringtoString()-
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
-
-
-
-
Constructor Detail
-
Parameter
public Parameter(String name)
-
-
Method Detail
-
getDataSource
public DataSource getDataSource()
-
setDataSource
public void setDataSource(DataSource dataSource)
-
setParameterType
public void setParameterType(ParameterType pm)
-
getParameterType
public ParameterType getParameterType()
-
getRecordingGroup
public String getRecordingGroup()
-
setRecordingGroup
public void setRecordingGroup(String g)
-
getInitialValue
public Object getInitialValue()
- Returns:
- the initial value of the parameter (if any)
-
setInitialValue
public void setInitialValue(Object initialValue)
Sets the initial value for the parameter (if any). The value has to be compatible with its type.- Parameters:
initialValue-
-
-