Package jadex.bdiv3.model
Class MConfigParameterElement
- java.lang.Object
-
- jadex.bdiv3.model.MElement
-
- jadex.bdiv3.model.MConfigParameterElement
-
public class MConfigParameterElement extends MElement
Initial / end goals and plans.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.util.List<UnparsedExpression>>
parameters
The parameters.protected java.lang.String
ref
The referenced element.-
Fields inherited from class jadex.bdiv3.model.MElement
CAPABILITY_SEPARATOR, description, name
-
-
Constructor Summary
Constructors Constructor Description MConfigParameterElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class jadex.bdiv3.model.MElement
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
-
-
-
-
Field Detail
-
parameters
protected java.util.Map<java.lang.String,java.util.List<UnparsedExpression>> parameters
The parameters.
-
ref
protected java.lang.String ref
The referenced element.
-
-
Method Detail
-
getParameters
public java.util.Map<java.lang.String,java.util.List<UnparsedExpression>> getParameters()
Get the parameters.
-
getParameters
public java.util.List<UnparsedExpression> getParameters(java.lang.String name)
Get the parameters by name.
-
getParameter
public UnparsedExpression getParameter(java.lang.String name)
Get a parameter by name.
-
hasParameter
public boolean hasParameter(java.lang.String name)
Test if goal has a parameter.
-
addParameter
public void addParameter(UnparsedExpression parameter)
Add a parameter.- Parameters:
parameter
- The parameter.
-
getRef
public java.lang.String getRef()
Get the referenced element.
-
setRef
public void setRef(java.lang.String ref)
Set the referenced element.
-
setFlatRef
public void setFlatRef(java.lang.String ref)
Set the referenced element.
-
-