Package cmion.level2

Class SamgarCompetencyInfo

java.lang.Object
cmion.level2.SamgarCompetencyInfo

public class SamgarCompetencyInfo extends Object
stores information about a Samgar competency that is necessary to build the competency dynamically and to chose it (e.g. class name, constructor parameters, category and sub category)
  • Constructor Details

  • Method Details

    • construct

      public Competency construct() throws Exception
      constructs the competency that this info represents and returns it, throws an exception if class does not exist, parameters do not match, constructor does not exist or class is not subclass of Competency
      Throws:
      Exception
    • getClassName

      public String getClassName()
      returns the class name of the competency this info represents
    • getPortName

      public String getPortName()
      returns the port name of the competency this info represents