Jadex 0.96-beta1

jadex.model
Interface IMBase

All Superinterfaces:
IMElement
All Known Subinterfaces:
IMBeliefbase, IMEventbase, IMExpressionbase, IMGoalbase, IMPlanbase, IMPropertybase

public interface IMBase
extends IMElement

Interface for all bases = element containers.


Method Summary
 void deleteReferenceableElement(IMReferenceableElement elem)
          Delete a referenceable element per name.
 IMBase getCorrespondingBase(IMCapability scope)
          Get the corresponding base of a given scope.
 IMElementReference[] getElementReferences(IMReferenceableElement element)
          Find elements referencing the given element using assign-from.
 IMReferenceableElement getReferenceableElement(String name)
          Get an element contained in the base by name.
 IMReferenceableElement[] getReferenceableElements()
          Get the elements contained in the base.
 
Methods inherited from interface jadex.model.IMElement
check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName
 

Method Detail

getReferenceableElements

IMReferenceableElement[] getReferenceableElements()
Get the elements contained in the base.

Returns:
The elements.

getReferenceableElement

IMReferenceableElement getReferenceableElement(String name)
Get an element contained in the base by name.

Returns:
The element.

deleteReferenceableElement

void deleteReferenceableElement(IMReferenceableElement elem)
Delete a referenceable element per name.

Parameters:
elem - The element.

getElementReferences

IMElementReference[] getElementReferences(IMReferenceableElement element)
Find elements referencing the given element using assign-from.

Parameters:
element - The referenced element.
Returns:
The element references.

getCorrespondingBase

IMBase getCorrespondingBase(IMCapability scope)
Get the corresponding base of a given scope. Depending on the type of this base (e.g. beliefbase), the corresponding base of the given scope is returned.

Parameters:
scope - The scope.
Returns:
The corresponding base.

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.