Package fr.norsys.mapper.console.mapping

Examples of fr.norsys.mapper.console.mapping.Variable


    application.setConnectionName(connection.getName());
  }

  private void fillVariables(Application application, Vector variables) {
    for (Iterator it = variables.iterator(); it.hasNext();) {
      Variable v = (Variable) it.next();
      application
          .addVariable(new fr.norsys.mapper.console.model.Variable(v
              .getName(), v.getValue()));
    }
  }
View Full Code Here


  public void saveMapping(Application application, String mapFile) throws MappingException {
    MapperConfig mapperConfig = new MapperConfig();
    java.util.Collection variables = application.getVariables();
    for (Iterator it = variables.iterator(); it.hasNext();) {
      Variable variable = new Variable();
      fr.norsys.mapper.console.model.Variable v = (fr.norsys.mapper.console.model.Variable)it.next();
      BeanUtils.copyFilledProperties(variable, v);
      mapperConfig.addVariable(variable);
    }
View Full Code Here

TOP

Related Classes of fr.norsys.mapper.console.mapping.Variable

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.