Class RuleAtom<T extends IExecutableModuleElementParameter>

  • Direct Known Subclasses:
    ExecutableRuleAtom

    public abstract class RuleAtom<T extends IExecutableModuleElementParameter>
    extends java.lang.Object
    A single rule-based construct and model element combination. This class represents the most atomic (i.e. highest level of granularity) data structure possible.
    Since:
    1.6
    Author:
    Sina Madani
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object element  
      protected int hashCode  
      T rule  
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleAtom​(T construct, java.lang.Object modelElement)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map.Entry<T,​java.lang.Object> asEntry()  
      boolean equals​(java.lang.Object obj)  
      java.lang.Object execute​(IErlContext context)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RuleAtom

        public RuleAtom​(T construct,
                        java.lang.Object modelElement)
    • Method Detail

      • asEntry

        public java.util.Map.Entry<T,​java.lang.Object> asEntry()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object