congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PortableObjectParameterDefinition.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.drools.guvnor.models.commons.shared.workitems.PortableObjectParameterDefinition
constructor

Best Java code snippets using org.drools.guvnor.models.commons.shared.workitems.PortableObjectParameterDefinition.<init> (Showing top 3 results out of 315)

origin: org.drools/drools-guvnor-models-commons

  paramDef = new PortableIntegerParameterDefinition();
} else {
  paramDef = new PortableObjectParameterDefinition();
origin: org.kie.guvnor/guvnor-workitems-editor-backend

private Set<PortableParameterDefinition> convertWorkItemParameters( final Set<ParameterDefinition> parameters ) {
  final Set<PortableParameterDefinition> pps = new HashSet<PortableParameterDefinition>();
  for ( ParameterDefinition pd : parameters ) {
    final DataType pdt = pd.getType();
    PortableParameterDefinition ppd = null;
    if ( pdt instanceof BooleanDataType ) {
      ppd = new PortableBooleanParameterDefinition();
    } else if ( pdt instanceof FloatDataType ) {
      ppd = new PortableFloatParameterDefinition();
    } else if ( pdt instanceof IntegerDataType ) {
      ppd = new PortableIntegerParameterDefinition();
    } else if ( pdt instanceof ObjectDataType ) {
      ppd = new PortableObjectParameterDefinition();
      final PortableObjectParameterDefinition oppd = (PortableObjectParameterDefinition) ppd;
      final ObjectDataType odt = (ObjectDataType) pdt;
      oppd.setClassName( odt.getClassName() );
    } else if ( pd.getType() instanceof StringDataType ) {
      ppd = new PortableStringParameterDefinition();
    }
    if ( ppd != null ) {
      ppd.setName( pd.getName() );
      pps.add( ppd );
    }
  }
  return pps;
}
origin: org.kie.guvnor/guvnor-guided-dtable-editor-client

  return clone;
} else if ( ppd instanceof PortableObjectParameterDefinition ) {
  clone = new PortableObjectParameterDefinition();
  clone.setName( ppd.getName() );
  ( (PortableObjectParameterDefinition) clone ).setClassName( ppd.getClassName() );
org.drools.guvnor.models.commons.shared.workitemsPortableObjectParameterDefinition<init>

Popular methods of PortableObjectParameterDefinition

  • getBinding
  • setBinding
  • setClassName
  • getClassName
  • getName
  • isBound

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • addToBackStack (FragmentTransaction)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Vim plugins
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