public class ParameterObject extends CapabilityParameter
Constructor and Description |
---|
ParameterObject(String name)
Construct a ParameterObject with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(ParameterObject child)
Add a child parameter object.
|
void |
addParameterAssociation(ParameterAssociation<Parameter> paramAssoc)
Add a parameter association that connects a simple capability parameter to this parameter object.
|
Set<ParameterObject> |
getChildren()
Get the child parameter objects.
|
ParameterAssociation<Parameter> |
getParameterAssociation(Parameter param)
Get a parameter association for the given parameter.
|
Collection<ParameterAssociation<Parameter>> |
getParameterAssociations()
Get all parameter associations of this parameter object.
|
Collection<Parameter> |
getParameters()
Deprecated.
Consider using
getParameterAssociations() instead |
getDescription, getName, setDescription, setName
public ParameterObject(String name)
name
- the name of the ParameterObjectpublic void addParameterAssociation(ParameterAssociation<Parameter> paramAssoc)
paramAssoc
- the parameter associationpublic ParameterAssociation<Parameter> getParameterAssociation(Parameter param)
param
- a parameterpublic Collection<ParameterAssociation<Parameter>> getParameterAssociations()
@Deprecated public Collection<Parameter> getParameters()
getParameterAssociations()
insteadpublic Set<ParameterObject> getChildren()
public void addChild(ParameterObject child)
child
- child parameter objectCopyright © 2017 Tampere University of Technology (TUT) / Laboratory of Mechanical Engineering and Industrial Systems (MEI). All rights reserved.