Class Strategy

java.lang.Object
ca.mcscert.jpipe.model.elements.Strategy
All Implemented Interfaces:
CommonElement, ElementView, JustificationElement

public final class Strategy extends Object implements CommonElement
A reasoning strategy connecting evidence to a conclusion.
  • Constructor Details

  • Method Details

    • id

      public String id()
      Description copied from interface: ElementView
      Unique identifier of this element within its containing model.
      Specified by:
      id in interface ElementView
    • label

      public String label()
      Description copied from interface: ElementView
      Human-readable display label.
      Specified by:
      label in interface ElementView
    • addSupport

      public void addSupport(SupportLeaf supporter)
    • getSupports

      public List<SupportLeaf> getSupports()
    • replaceSupport

      public void replaceSupport(SupportLeaf oldSupport, SupportLeaf newSupport)
      Replaces oldSupport with newSupport in the list of supporters.
    • toString

      public String toString()
      Overrides:
      toString in class Object