Codota Logo
PortableObjectParameterDefinition.getBinding
Code IndexAdd Codota to your IDE (free)

How to use
getBinding
method
in
org.drools.guvnor.models.commons.shared.workitems.PortableObjectParameterDefinition

Best Java code snippets using org.drools.guvnor.models.commons.shared.workitems.PortableObjectParameterDefinition.getBinding (Showing top 4 results out of 315)

  • Common ways to obtain PortableObjectParameterDefinition
private void myMethod () {
PortableObjectParameterDefinition p =
  • Codota Iconnew PortableObjectParameterDefinition()
  • Smart code suggestions by Codota
}
origin: org.drools/drools-guvnor-models-commons

public boolean isBound() {
  return ( this.getBinding() != null && !"".equals( this.getBinding() ) );
}
origin: org.drools/drools-guvnor-models-commons

@Override
public String asString() {
  if ( isBound() ) {
    return this.getBinding();
  }
  return "null";
}
origin: org.kie.guvnor/guvnor-commons-ui

public WorkItemObjectParameterWidget( PortableObjectParameterDefinition ppd,
                   IBindingProvider bindingProvider,
                   boolean isReadOnly ) {
  super( ppd,
      bindingProvider );
  //Setup widget to use bindings
  this.parameterName.setText( ppd.getName() );
  Set<String> bindings = bindingProvider.getBindings( ppd.getClassName() );
  if ( bindings.size() > 0 ) {
    lstAvailableBindings.clear();
    lstAvailableBindings.addItem( CommonConstants.INSTANCE.Choose() );
    lstAvailableBindings.setEnabled( true && !isReadOnly );
    lstAvailableBindings.setVisible( true );
    int selectedIndex = 0;
    for ( String binding : bindings ) {
      lstAvailableBindings.addItem( binding );
      if ( binding.equals( ppd.getBinding() ) ) {
        selectedIndex = lstAvailableBindings.getItemCount() - 1;
      }
    }
    lstAvailableBindings.setSelectedIndex( selectedIndex );
  }
}
origin: org.kie.guvnor/guvnor-guided-dtable-editor-client

  clone.setName( ppd.getName() );
  ( (PortableObjectParameterDefinition) clone ).setClassName( ppd.getClassName() );
  ( (PortableObjectParameterDefinition) clone ).setBinding( ( (PortableObjectParameterDefinition) ppd ).getBinding() );
  return clone;
} else if ( ppd instanceof PortableStringParameterDefinition ) {
org.drools.guvnor.models.commons.shared.workitemsPortableObjectParameterDefinitiongetBinding

Popular methods of PortableObjectParameterDefinition

  • <init>
  • setBinding
  • setClassName
  • getClassName
  • getName
  • isBound

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now