public class ParameterObject extends Object
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 |
addParameter(Parameter param)
Add a parameter.
|
Set<ParameterObject> |
getChildren()
Get the child parameter objects.
|
String |
getDescription()
Get the description.
|
String |
getName()
Get the name of the ParameterObject.
|
Parameter |
getParameter(String name)
Get a parameter by name.
|
Collection<Parameter> |
getParameters()
Get all of the parameters the ParameterObject consists of
|
void |
setDescription(String description)
Set the description.
|
public ParameterObject(String name)
name
- the name of the ParameterObjectpublic void addParameter(Parameter param)
param
- parameter to be addedpublic Parameter getParameter(String name)
name
- parameter namepublic Collection<Parameter> getParameters()
public String getName()
public String getDescription()
public void setDescription(String description)
description
- the description to setpublic Set<ParameterObject> getChildren()
public void addChild(ParameterObject child)
child
- child parameter objectCopyright © 2017. All rights reserved.