Jadex 0.941

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

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

Parameters:
value - The new value.

removeValue

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

Parameters:
value - The new value.

addValues

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


removeValues

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


getValue

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

Parameters:
oldval - The old value.

containsValue

public 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

public Object[] getValues()
Get the values of a parameterset.

Returns:
The values.

size

public int size()
Get the number of values currently contained in this set.

Returns:
The values count.

getClazz

public Class getClazz()
Get the value class.

Returns:
The valuec class.

Jadex 0.941

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-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.