Package org.data2semantics.platform.core.data

Examples of org.data2semantics.platform.core.data.CommandLineType


   * @param output
   * @param stringValue
   * @return
   */
  private Object castOutputType(InstanceOutput output, String stringValue) {
    CommandLineType type = (CommandLineType) output.dataType();
   
    return type.valueOf(stringValue);
  }
View Full Code Here


  @Override
  public DataType inputType(String source, String inputName) {
    String inputType = CommandLineConfigParser.getInputType(source, inputName);
   
    if(inputType.contains(CommandLineType.Types.INTEGER.toString()))
      return new CommandLineType(CommandLineType.Types.INTEGER);
   
    return new CommandLineType(CommandLineType.Types.STRING);
  }
View Full Code Here

  @Override
  public DataType outputType(String source, String outputName) {
    String outputType = CommandLineConfigParser.getOutputType(source, outputName);
   
    if(outputType.contains(CommandLineType.Types.INTEGER.toString()))
      return new CommandLineType(CommandLineType.Types.INTEGER);
   
    return new CommandLineType(CommandLineType.Types.STRING);
  }
View Full Code Here

TOP

Related Classes of org.data2semantics.platform.core.data.CommandLineType

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.