public class MConfigParameterElement extends MElement
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.List<UnparsedExpression>> |
parameters
The parameters.
|
protected java.lang.String |
ref
The referenced element.
|
CAPABILITY_SEPARATOR, description, name
Constructor and Description |
---|
MConfigParameterElement() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(UnparsedExpression parameter)
Add a parameter.
|
UnparsedExpression |
getParameter(java.lang.String name)
Get a parameter by name.
|
java.util.Map<java.lang.String,java.util.List<UnparsedExpression>> |
getParameters()
Get the parameters.
|
java.util.List<UnparsedExpression> |
getParameters(java.lang.String name)
Get the parameters by name.
|
java.lang.String |
getRef()
Get the referenced element.
|
boolean |
hasParameter(java.lang.String name)
Test if goal has a parameter.
|
void |
setFlatRef(java.lang.String ref)
Set the referenced element.
|
void |
setRef(java.lang.String ref)
Set the referenced element.
|
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
protected java.util.Map<java.lang.String,java.util.List<UnparsedExpression>> parameters
protected java.lang.String ref
public java.util.Map<java.lang.String,java.util.List<UnparsedExpression>> getParameters()
public java.util.List<UnparsedExpression> getParameters(java.lang.String name)
public UnparsedExpression getParameter(java.lang.String name)
public boolean hasParameter(java.lang.String name)
public void addParameter(UnparsedExpression parameter)
parameter
- The parameter.public java.lang.String getRef()
public void setRef(java.lang.String ref)
public void setFlatRef(java.lang.String ref)