Class RElement

java.lang.Object
jadex.bdi.runtime.impl.RElement
Direct Known Subclasses:
RCapability, RParameterElement, RParameterElement.RParameter, RParameterElement.RParameterSet

public abstract class RElement extends Object
Base element for all runtime elements.
  • Field Details

    • cnt

      protected static long cnt
    • modelelement

      protected MElement modelelement
      The model element.
    • id

      protected String id
      The element id.
  • Constructor Details

    • RElement

      public RElement(MElement modelelement)
      Create a new runtime element.
  • Method Details

    • getModelElement

      public MElement getModelElement()
      Get the modelelement.
      Returns:
      The modelelement.
    • setModelElement

      public void setModelElement(MElement modelelement)
      Set the modelelement.
      Parameters:
      modelelement - The modelelement to set.
    • getId

      public String getId()
      Get the id.
      Returns:
      The id.
    • setId

      public void setId(String id)
      Set the id.
      Parameters:
      id - The id to set.
    • getAgent

      public jadex.core.IComponent getAgent()
      Get the agent.
      Returns:
      The agent
    • getCapability

      public RCapability getCapability()
      Get the capability.
      Returns:
      The capability.
    • getMCapability

      public MCapability 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

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object