Package jadex.bdi.runtime
Interface IParameterSet
- All Superinterfaces:
IElement
- All Known Implementing Classes:
RParameterElement.RParameterSet
Interface for all parameter sets.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a value to a parameter set.void
Add values to a parameter set.boolean
containsValue
(Object value) Test if a value is contained in a parameter.getName()
Get the name.Object[]
Get the values of a parameterset.void
removeValue
(Object value) Remove a value to a parameter set.void
Remove all values from a parameter set.int
size()
Get the number of values currently contained in this set.Methods inherited from interface jadex.bdi.runtime.IElement
getCount, getId, getModelElement
-
Method Details
-
addValue
Add a value to a parameter set.- Parameters:
value
- The new value.
-
removeValue
Remove a value to a parameter set.- Parameters:
value
- The new value.
-
addValues
Add values to a parameter set. -
removeValues
void removeValues()Remove all values from a parameter set. -
containsValue
Test if a value is contained in a parameter.- Parameters:
value
- The value to test.- Returns:
- True, if value is contained.
-
getValues
Object[] getValues()Get the values of a parameterset.- Returns:
- The values.
-
size
int size()Get the number of values currently contained in this set.- Returns:
- The values count.
-
getName
String getName()Get the name.- Returns:
- The name.
-