Class FWFunctionalityModel

java.lang.Object
net.simplace.pipe.functionality.FWFunctionalityModel

public class FWFunctionalityModel extends Object
Model of a function of the GUI framework, read from its function element (attributes id, class, nextFunction, previousFunction, if, ressource; the child elements are the parameters).
Author:
Andreas Enders
  • Constructor Details

    • FWFunctionalityModel

      public FWFunctionalityModel(org.jdom2.Element aFunctionElement, String aOID, String aSystemID)
      Parameters:
      aFunctionElement - the function element
      aOID - unique object id of the function instance
      aSystemID - id of the system the function belongs to, or null
  • Method Details

    • clone

      public FWFunctionalityModel clone()
      Overrides:
      clone in class Object
      Returns:
      a new model from the same element, object id and system id
    • getClassName

      public String getClassName()
      Returns:
      class name of the functionality
    • getID

      public String getID()
      Returns:
      id of the function
    • getSystemID

      public String getSystemID()
      Returns:
      id of the system the function belongs to (the function id if none is set)
    • getIfFunctionShouldBeRun

      public String getIfFunctionShouldBeRun()
      Returns:
      expression if this function should be run or not
    • addToRessourcPartList

      public void addToRessourcPartList(List<String> aRessourcePartList)
      Parameters:
      aRessourcePartList - resource parts to add