@Entity public class ASubsystemDescription extends SubsystemDescription implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Set<AParameterDescription> |
paramDescriptions
the set containing the parameter descriptions
|
dataFlavour, DEFAULT_TREE_PARAMETER_FILTER, descriptionData| Constructor and Description |
|---|
ASubsystemDescription(String subsystemName,
String tag,
String user,
String version,
Serializable configurationData,
DataFlavour dataFlavour)
same parameters and constraints as the superclass constructor
|
ASubsystemDescription(SubsystemDescription other)
creates a new SubsystemDescription without information set up by the database (id, startDate)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameterDescriptions(AParameterDescription... descriptions)
adds a list of parameter descriptions
|
void |
addParameterDescriptions(Collection<ParameterDescription> descriptions) |
void |
addParameterDescriptions(ParameterDescription... descriptions)
add Parameter descriptions: this is a public facade to the "real" method
that adds only objects of type AParameterDescription
So if objects are not ot this actual type new objects of the needed type are created
(see AParameterDescription constructor documentation)
|
ASubsystemDescription |
clone()
clone: the contained set of parameter description is also cloned.
|
long |
getId()
the technical id: zero if the object is not yet registered in database
|
Set<? extends ParameterDescription> |
getParamDescriptionSet()
Detailed description of parameters that can be changed
|
long |
getStartTimestamp() |
void |
removeParameterDescriptions(ParameterDescription... descriptions)
removes a list of parameter descriptions.
|
addDeploymentDescriptors, check, equals, fetch, fetch, generateConfigProperties, generateDescriptionMap, getBaseParameters, getBaseParameters, getDataFlavour, getDeployDescriptors, getDescriptionData, getEndTimestamp, getModifiedConfigurationData, getPossibleDescriptions, getPossibleDescriptions, getPreviousDescriptionID, getSubsystemName, getTag, getTopComponentNode, getUser, getVersion, hashCode, isReadOnly, parameterDescriptionsFromNode, parametersFromNode, populateParameterBasesFromTop, populateParameterDescriptionsFromTop, removeDeploymentDescriptors, toStringprotected Set<AParameterDescription> paramDescriptions
public ASubsystemDescription(String subsystemName, String tag, String user, String version, Serializable configurationData, DataFlavour dataFlavour)
subsystemName - tag - user - version - configurationData - dataFlavour - public ASubsystemDescription(SubsystemDescription other)
other - public long getId()
SubsystemDescriptiongetId in class SubsystemDescriptionpublic Set<? extends ParameterDescription> getParamDescriptionSet()
SubsystemDescriptiongetParamDescriptionSet in class SubsystemDescriptionpublic long getStartTimestamp()
getStartTimestamp in class SubsystemDescriptionpublic ASubsystemDescription clone()
public void addParameterDescriptions(ParameterDescription... descriptions)
addParameterDescriptions in class SubsystemDescriptiondescriptions - public void addParameterDescriptions(Collection<ParameterDescription> descriptions)
addParameterDescriptions in class SubsystemDescriptionpublic void addParameterDescriptions(AParameterDescription... descriptions)
descriptions - ImmutableStateException - if called on an immutable objectpublic void removeParameterDescriptions(ParameterDescription... descriptions)
works with any subclass of parameterDescription (see equals method code)
removeParameterDescriptions in class SubsystemDescriptiondescriptions - ImmutableStateException - if called on an immutable objectCopyright © 2015 LSST. All rights reserved.