public class MParameterElement extends MElement
Modifier and Type | Field and Description |
---|---|
protected java.util.List<MParameter> |
parameters
The parameters.
|
CAPABILITY_SEPARATOR, description, name
Constructor and Description |
---|
MParameterElement()
Bean Constructor.
|
MParameterElement(java.lang.String name)
Create a new element.
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(MParameter parameter)
Add a parameter.
|
MParameter |
getParameter(java.lang.String name)
Get a parameter by name.
|
java.util.List<MParameter> |
getParameters()
Get the parameters.
|
boolean |
hasParameter(java.lang.String name)
Test if goal has a parameter.
|
void |
setParameters(java.util.List<MParameter> parameters)
Set the parameters.
|
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
protected java.util.List<MParameter> parameters
public MParameterElement()
public MParameterElement(java.lang.String name)
public java.util.List<MParameter> getParameters()
public MParameter getParameter(java.lang.String name)
public boolean hasParameter(java.lang.String name)
public void setParameters(java.util.List<MParameter> parameters)
parameters
- The parameters to set.public void addParameter(MParameter parameter)
parameter
- The parameter.