Package org.molgenis.model.elements

Examples of org.molgenis.model.elements.Parameter


      logger.error(message);
      throw new MolgenisModelException(message);
    }

    // construct
    Parameter parameter = new Parameter(method, Parameter.Type.getType(element.getAttribute("type")),
        element.getAttribute("name"), element.getAttribute("label"), false, element.getAttribute("default"));

    try
    {
      method.addParameter(parameter);
    }
    catch (Exception e)
    {
      throw new MolgenisModelException("duplicate parameter '" + parameter.getName() + "' in method '"
          + method.getName() + "'");
    }
  }
View Full Code Here

TOP

Related Classes of org.molgenis.model.elements.Parameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.