Tabnine Logo
Binding.getBeanId
Code IndexAdd Tabnine to your IDE (free)

How to use
getBeanId
method
in
org.milyn.flatfile.Binding

Best Java code snippets using org.milyn.flatfile.Binding.getBeanId (Showing top 2 results out of 315)

origin: org.milyn/milyn-smooks-all

  public List<SmooksResourceConfiguration> toConfig() {
    getParameters().setProperty("parserFactory", factoryParserClass.getName());
    getParameters().setProperty("indent", Boolean.toString(indent));
    getParameters().setProperty("strict", Boolean.toString(strict));
    getParameters().setProperty("fields-in-message", Boolean.toString(fieldsInMessage));

    if(binding != null) {
      getParameters().setProperty("bindBeanId", binding.getBeanId());
      getParameters().setProperty("bindBeanClass", binding.getBeanClass().getName());
      getParameters().setProperty("bindingType", binding.getBindingType().toString());
      if(binding.getBindingType() == BindingType.MAP) {
        if(binding.getKeyField() == null) {
          throw new SmooksConfigurationException("CSV 'MAP' Binding must specify a 'keyField' property on the binding configuration.");
        }
        getParameters().setProperty("bindMapKeyField", binding.getKeyField());
      }
    }

    return super.toConfig();
  }
}
origin: org.virtuslab/milyn-smooks-flatfile

  public List<SmooksResourceConfiguration> toConfig() {
    getParameters().setProperty("parserFactory", factoryParserClass.getName());
    getParameters().setProperty("indent", Boolean.toString(indent));
    getParameters().setProperty("strict", Boolean.toString(strict));
    getParameters().setProperty("fields-in-message", Boolean.toString(fieldsInMessage));

    if(binding != null) {
      getParameters().setProperty("bindBeanId", binding.getBeanId());
      getParameters().setProperty("bindBeanClass", binding.getBeanClass().getName());
      getParameters().setProperty("bindingType", binding.getBindingType().toString());
      if(binding.getBindingType() == BindingType.MAP) {
        if(binding.getKeyField() == null) {
          throw new SmooksConfigurationException("CSV 'MAP' Binding must specify a 'keyField' property on the binding configuration.");
        }
        getParameters().setProperty("bindMapKeyField", binding.getKeyField());
      }
    }

    return super.toConfig();
  }
}
org.milyn.flatfileBindinggetBeanId

Popular methods of Binding

  • <init>
  • getBeanClass
  • getBindingType
  • getKeyField
  • setKeyField

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now