Package jadex.bdiv3x.runtime
Class RMessageEvent.RParamSet
- java.lang.Object
-
- jadex.bdiv3.runtime.impl.RElement
-
- jadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
-
- jadex.bdiv3x.runtime.RMessageEvent.RParamSet
-
- All Implemented Interfaces:
IElement
,IParameterSet
- Enclosing class:
- RMessageEvent<T>
public class RMessageEvent.RParamSet extends jadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
-
-
Constructor Summary
Constructors Constructor Description RParamSet(MParameter modelelement, java.lang.String name, IInternalAccess agent, java.lang.Object values, java.lang.String pename)
Create a new parameter.RParamSet(MParameter modelelement, java.lang.String name, IInternalAccess agent, java.lang.String pename)
Create a new parameter.RParamSet(MParameter modelelement, java.lang.String name, IInternalAccess agent, java.util.List<UnparsedExpression> inivals, java.lang.String pename)
Create a new parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<?>
getClazz()
Get the class of a value.java.lang.Object[]
getValues()
Adapt to message type for implicit parameters.protected void
internalAddValue(java.lang.Object value)
protected java.util.List<java.lang.Object>
internalGetValues()
protected void
internalRemoveValue(java.lang.Object value)
protected void
internalRemoveValues()
protected void
internalSetValues(java.util.List<java.lang.Object> values)
The values to set.-
Methods inherited from class jadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
addValue, addValues, containsValue, evaluateValues, getName, getValues, removeValue, removeValues, setValues, size, updateDynamicValues
-
Methods inherited from class jadex.bdiv3.runtime.impl.RElement
getAgent, getCapability, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.bdiv3x.runtime.IElement
getModelElement
-
-
-
-
Constructor Detail
-
RParamSet
public RParamSet(MParameter modelelement, java.lang.String name, IInternalAccess agent, java.lang.String pename)
Create a new parameter.- Parameters:
modelelement
- The model element.name
- The name.
-
RParamSet
public RParamSet(MParameter modelelement, java.lang.String name, IInternalAccess agent, java.util.List<UnparsedExpression> inivals, java.lang.String pename)
Create a new parameter.- Parameters:
modelelement
- The model element.name
- The name.
-
RParamSet
public RParamSet(MParameter modelelement, java.lang.String name, IInternalAccess agent, java.lang.Object values, java.lang.String pename)
Create a new parameter.- Parameters:
modelelement
- The model element.name
- The name.
-
-
Method Detail
-
getClazz
protected java.lang.Class<?> getClazz()
Get the class of a value.- Overrides:
getClazz
in classjadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
-
internalSetValues
protected void internalSetValues(java.util.List<java.lang.Object> values)
The values to set.- Overrides:
internalSetValues
in classjadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
- Parameters:
values
- The values to set
-
getValues
public java.lang.Object[] getValues()
Adapt to message type for implicit parameters.- Specified by:
getValues
in interfaceIParameterSet
- Overrides:
getValues
in classjadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
- Returns:
- The values.
-
internalGetValues
protected java.util.List<java.lang.Object> internalGetValues()
- Overrides:
internalGetValues
in classjadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
-
internalAddValue
protected void internalAddValue(java.lang.Object value)
- Overrides:
internalAddValue
in classjadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
-
internalRemoveValue
protected void internalRemoveValue(java.lang.Object value)
- Overrides:
internalRemoveValue
in classjadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
-
internalRemoveValues
protected void internalRemoveValues()
- Overrides:
internalRemoveValues
in classjadex.bdiv3.runtime.impl.RParameterElement.RParameterSet
-
-