Package cmion.level2
Class SamgarCompetencyInfo
- java.lang.Object
-
- cmion.level2.SamgarCompetencyInfo
-
public class SamgarCompetencyInfo extends java.lang.Objectstores 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 Summary
Constructors Constructor Description SamgarCompetencyInfo(java.lang.String className, java.lang.String port, java.util.ArrayList<java.lang.Object> constructorParameters, java.util.ArrayList<java.lang.Class<?>> constructorParameterClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Competencyconstruct()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 Competencyjava.lang.StringgetClassName()returns the class name of the competency this info representsjava.lang.StringgetPortName()returns the port name of the competency this info represents
-
-
-
Method Detail
-
construct
public Competency construct() throws java.lang.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:
java.lang.Exception
-
getClassName
public java.lang.String getClassName()
returns the class name of the competency this info represents
-
getPortName
public java.lang.String getPortName()
returns the port name of the competency this info represents
-
-