Package jadex.bdi.runtime.impl
Class RElement
java.lang.Object
jadex.bdi.runtime.impl.RElement
- Direct Known Subclasses:
RCapability,RParameterElement,RParameterElement.RParameter,RParameterElement.RParameterSet
Base element for all runtime elements.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjadex.core.IComponentgetAgent()Get the agent.Get the capability.longgetCount()Get the element count.getId()Get the id.Get the capability model.Get the modelelement.jadex.rules.eca.RuleSystemget the rule system.voidSet the id.voidsetModelElement(MElement modelelement) Set the modelelement.toString()Get the string representation.
-
Field Details
-
cnt
protected static long cnt -
modelelement
The model element. -
id
The element id.
-
-
Constructor Details
-
RElement
Create a new runtime element.
-
-
Method Details
-
getModelElement
Get the modelelement.- Returns:
- The modelelement.
-
setModelElement
Set the modelelement.- Parameters:
modelelement- The modelelement to set.
-
getId
Get the id.- Returns:
- The id.
-
setId
Set the id.- Parameters:
id- The id to set.
-
getAgent
public jadex.core.IComponent getAgent()Get the agent.- Returns:
- The agent
-
getCapability
Get the capability.- Returns:
- The capability.
-
getMCapability
Get the capability model.- Returns:
- The capability model.
-
getRuleSystem
public jadex.rules.eca.RuleSystem getRuleSystem()get the rule system.- Returns:
- The rule system
-
getCount
public long getCount()Get the element count.- Returns:
- The element count.
-
toString
Get the string representation.
-