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.
|
void |
addValueAlternative(ParameterObjectValue alternative)
Add an alternative value for 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 |
ParameterObjectValue |
getValueAlternative(String uri)
Get a value alternative that corresponds to the given uri from the ontology i.e.
|
Set<ParameterObjectValue> |
getValueAlternatives()
Get the value alternatives.
|
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 Set<ParameterObjectValue> getValueAlternatives()
public ParameterObjectValue getValueAlternative(String uri)
uri
- Uri of corresponding ontology instance.public void addValueAlternative(ParameterObjectValue alternative)
alternative
- the alternativepublic void addChild(ParameterObject child)
child
- child parameter objectCopyright © 2021 Tampere University (TAU) / Faculty of Engineering and Natural Sciences (ENS) / Automation Technology and Mechanical Engineering (ATME) / Manufacturing and Production Automation. All rights reserved.