Jadex 0.96-beta1

jadex.model
Interface IMElement

All Known Subinterfaces:
IMAchieveGoal, IMAchieveGoalReference, IMBase, IMBDIAgent, IMBelief, IMBeliefbase, IMBeliefReference, IMBeliefSet, IMBeliefSetReference, IMBindingCondition, IMCapability, IMCapabilityReference, IMCondition, IMConditionReference, IMConfigBase, IMConfigBelief, IMConfigBeliefbase, IMConfigBeliefSet, IMConfigCapability, IMConfigCapabilitybase, IMConfigElement, IMConfigEventbase, IMConfigGoal, IMConfigGoalbase, IMConfigInternalEvent, IMConfigMessageEvent, IMConfigParameter, IMConfigParameterElement, IMConfigParameterSet, IMConfigPlan, IMConfigPlanbase, IMConfigReferenceableElement, IMConfiguration, IMConfigurationbase, IMDeliberation, IMElementReference, IMEvent, IMEventbase, IMEventReference, IMExpression, IMExpressionbase, IMExpressionParameter, IMExpressionReference, IMGoal, IMGoalbase, IMGoalEvent, IMGoalEventReference, IMGoalReference, IMInhibits, IMInternalEvent, IMInternalEventReference, IMMaintainGoal, IMMaintainGoalReference, IMMessageEvent, IMMessageEventReference, IMMetaGoal, IMMetaGoalReference, IMMetaGoalTrigger, IMParameter, IMParameterElement, IMParameterElementReference, IMParameterReference, IMParameterSet, IMParameterSetReference, IMPerformGoal, IMPerformGoalReference, IMPlan, IMPlanbase, IMPlanBody, IMPlanParameter, IMPlanParameterSet, IMPlanReference, IMPlanTrigger, IMPropertybase, IMQueryGoal, IMQueryGoalReference, IMReference, IMReferenceableElement, IMReferenceParameter, IMRelevantElement, IMTrigger, IMTypedElement, IMTypedElementReference, IMTypedElementSet, IMTypedElementSetReference, IMUnique

public interface IMElement

The base interface of all model elements.


Method Summary
 IReport check()
          Check the validity of the model.
 List getChildren()
          Method called on first setup run.
 String getDescription()
          Get the description (i.e. a natural language text) of the element.
 Map getEncodableRepresentation()
          Get an encodable representation.
 String getName()
          Get the element name.
 IMElement getOwner()
          Get the owner of the element (i.e. the enclosing element).
 IReport getReport()
          Return the last check report, or generate a new one, if the model has not yet been checked.
 IMCapability getScope()
          Get the elements scope, that means the capability it is contained in.
 List getSystemExpressionParameters()
          Get the expression parameters.
 void setDescription(String description)
          Set the description (i.e. a natural language text) of the element.
 void setName(String name)
          Set the element name.
 

Method Detail

getName

String getName()
Get the element name.

Returns:
The element name.

setName

void setName(String name)
Set the element name.

Parameters:
name - The element name.

getDescription

String getDescription()
Get the description (i.e. a natural language text) of the element.

Returns:
The description text.

setDescription

void setDescription(String description)
Set the description (i.e. a natural language text) of the element.

Parameters:
description - The description text.

getOwner

IMElement getOwner()
Get the owner of the element (i.e. the enclosing element).

Returns:
The owner.

getChildren

List getChildren()
Method called on first setup run. Overwritten in elements that have child elements.

Returns:
The list of direct child elements.

getScope

IMCapability getScope()
Get the elements scope, that means the capability it is contained in.

Returns:
The capability.

getEncodableRepresentation

Map getEncodableRepresentation()
Get an encodable representation.

Returns:
A map containing the relevant properties of the object.

getSystemExpressionParameters

List getSystemExpressionParameters()
Get the expression parameters. If this element has no local parameters, will return the parameters of the owner, or null if the element has no owner.


check

IReport check()
Check the validity of the model. Returns a report of errors or an empty report when the model is valid.


getReport

IReport getReport()
Return the last check report, or generate a new one, if the model has not yet been checked.

See Also:
check()

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.