Jadex 0.96-beta1

jadex.runtime
Interface IParameterSet

All Superinterfaces:
IElement

public interface IParameterSet
extends IElement

Interface for all parameter sets.


Method Summary
 void addValue(Object value)
          Add a value to a parameter set.
 void addValues(Object[] values)
          Add values to a parameter set.
 boolean containsValue(Object value)
          Test if a value is contained in a parameter.
 Class getClazz()
          Get the value class.
 Object getValue(Object oldval)
          Get a value equal to the given object.
 Object[] getValues()
          Get the values of a parameterset.
 void removeValue(Object value)
          Remove a value to a parameter set.
 void removeValues()
          Remove all values from a parameter set.
 int size()
          Get the number of values currently contained in this set.
 
Methods inherited from interface jadex.runtime.IElement
getModelElement, getName
 

Method Detail

addValue

void addValue(Object value)
Add a value to a parameter set.

Parameters:
value - The new value.

removeValue

void removeValue(Object value)
Remove a value to a parameter set.

Parameters:
value - The new value.

addValues

void addValues(Object[] values)
Add values to a parameter set.


removeValues

void removeValues()
Remove all values from a parameter set.


getValue

Object getValue(Object oldval)
Get a value equal to the given object.

Parameters:
oldval - The old value.

containsValue

boolean containsValue(Object value)
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.

getClazz

Class getClazz()
Get the value class.

Returns:
The valuec class.

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.